[Release 1.26] Fixed tailscale node IP dualstack mode in case of IPv4 only node #5785
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration Test Coverage | |
on: | |
push: | |
paths-ignore: | |
- "**.md" | |
- "channel.yaml" | |
- "install.sh" | |
- "tests/**" | |
- "!tests/integration**" | |
- ".github/**" | |
- "!.github/workflows/integration.yaml" | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
- "channel.yaml" | |
- "install.sh" | |
- "tests/**" | |
- "!tests/integration**" | |
- ".github/**" | |
- "!.github/workflows/integration.yaml" | |
workflow_dispatch: {} | |
permissions: | |
contents: read | |
jobs: | |
build: | |
uses: ./.github/workflows/build-k3s.yaml | |
test: | |
needs: build | |
name: Integration Tests | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 45 | |
strategy: | |
fail-fast: false | |
matrix: | |
itest: [certrotation, etcdrestore, localstorage, startup, custometcdargs, etcdsnapshot, kubeflags, longhorn, secretsencryption] | |
max-parallel: 3 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20.8' | |
check-latest: true | |
cache: true | |
cache-dependency-path: | | |
**/go.sum | |
**/go.mod | |
- name: "Download k3s binary" | |
uses: actions/download-artifact@v3 | |
with: | |
name: k3s | |
path: ./dist/artifacts | |
- name: Run Integration Tests | |
run: | | |
chmod +x ./dist/artifacts/k3s | |
sudo -E env "PATH=$PATH" go test -v -timeout=45m ./tests/integration/${{ matrix.itest }}/... -run Integration | |
- name: On Failure, Launch Debug Session | |
if: ${{ failure() }} | |
uses: mxschmitt/action-tmate@v3 | |
timeout-minutes: 5 |