Skip to content

Commit

Permalink
donotmerge: limit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
petrutlucian94 committed Jan 10, 2025
1 parent b2decaa commit 660c6e7
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
TEST_STRICT_INTERFACE_CHANNELS: "recent 6 strict"
TEST_MIRROR_LIST: '[{"name": "ghcr.io", "port": 5000, "remote": "https://ghcr.io", "username": "${{ github.actor }}", "password": "${{ secrets.GITHUB_TOKEN }}"}, {"name": "docker.io", "port": 5001, "remote": "https://registry-1.docker.io", "username": "", "password": ""}, {"name": "rocks.canonical.com", "port": 5002, "remote": "https://rocks.canonical.com/cdk"}]'
run: |
cd tests/integration && sudo --user "$USER" --preserve-env --preserve-env=PATH -- env -- tox -e integration -- --tags ${{ inputs.test-tags }} -k test_loadbalancer_ipv6_dualstack
cd tests/integration && sudo --user "$USER" --preserve-env --preserve-env=PATH -- env -- tox -e integration -- --tags ${{ inputs.test-tags }} -k test_loadbalancer_ipv4
- name: Prepare inspection reports
if: failure()
run: |
Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/lint_and_integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["ubuntu:20.04", "ubuntu:22.04", "ubuntu:24.04"]
os: ["ubuntu:24.04"]
needs: [build-snap, get-e2e-tags, go-lint-and-unit, python-lint]
uses: ./.github/workflows/e2e-tests.yaml
with:
Expand All @@ -112,22 +112,22 @@ jobs:
test-tags: ${{ needs.get-e2e-tags.outputs.test-tags}}
artifact: k8s.snap

test-integration-informing:
name: Test informing ${{ matrix.os }} ${{ matrix.patch }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu:24.04"]
patch: ["moonray"]
needs: [build-snap, get-e2e-tags, go-lint-and-unit, python-lint]
if: success() && github.event_name == 'pull_request'
uses: ./.github/workflows/e2e-tests.yaml
with:
arch: amd64
os: ${{ matrix.os }}
test-tags: ${{ needs.get-e2e-tags.outputs.test-tags}}
artifact: k8s-${{ matrix.patch }}.snap
flavor: ${{ matrix.patch }}
# test-integration-informing:
# name: Test informing ${{ matrix.os }} ${{ matrix.patch }}
# strategy:
# fail-fast: false
# matrix:
# os: ["ubuntu:24.04"]
# patch: ["moonray"]
# needs: [build-snap, get-e2e-tags, go-lint-and-unit, python-lint]
# if: success() && github.event_name == 'pull_request'
# uses: ./.github/workflows/e2e-tests.yaml
# with:
# arch: amd64
# os: ${{ matrix.os }}
# test-tags: ${{ needs.get-e2e-tags.outputs.test-tags}}
# artifact: k8s-${{ matrix.patch }}.snap
# flavor: ${{ matrix.patch }}

security-scan:
name: Security scan
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/nightly-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: Nightly Tests
on:
schedule:
- cron: "0 0 * * *" # Runs every midnight
pull_request:
paths:
- .github/workflows/nightly-test.yaml
- .github/workflows/e2e-tests.yaml
- .github/workflows/security-scan.yaml
# pull_request:
# paths:
# - .github/workflows/nightly-test.yaml
# - .github/workflows/e2e-tests.yaml
# - .github/workflows/security-scan.yaml

permissions:
contents: read
Expand Down

0 comments on commit 660c6e7

Please sign in to comment.