Skip to content

Commit

Permalink
test: fix what tests are run against
Browse files Browse the repository at this point in the history
  • Loading branch information
ekristen committed Nov 15, 2024
1 parent 0917109 commit 78154cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
pull_request:
branches:
- master
- next

jobs:
changed_states:
Expand All @@ -28,19 +29,16 @@ jobs:
if: ${{ needs.changed_states.outputs.matrix != '[]' }}
strategy:
matrix:
salt: [3004, 3005]
salt: [3006, 3007]
os: [20.04, 22.04]
state: ${{ fromJson(needs.changed_states.outputs.matrix) }}
include:
- os: 20.04
code: focal
- os: 22.04
code: jammy
exclude:
- os: 22.04
salt: 3004
container:
image: docker://ghcr.io/teamdfir/sift-saltstack-tester:${{ matrix.salt }}-${{ matrix.code }}
image: docker://ghcr.io/ekristen/cast-tools/saltstack-tester:${{ matrix.code }}-${{ matrix.salt }}
steps:
- uses: actions/checkout@v4
- name: test-state
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/weekly-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
salt: [3004, 3005]
salt: [3006, 3007]
os: [20.04, 22.04]
state:
- sift.packages.python2
Expand All @@ -22,11 +22,8 @@ jobs:
code: focal
- os: 22.04
code: jammy
exclude:
- salt: 3004
os: 22.04
container:
image: docker://ghcr.io/teamdfir/sift-saltstack-tester:${{ matrix.salt }}-${{ matrix.code }}
image: docker://ghcr.io/ekristen/cast-tools/saltstack-tester:${{ matrix.code }}-${{ matrix.salt }}
steps:
- uses: actions/checkout@v4
- name: test-state
Expand Down

0 comments on commit 78154cb

Please sign in to comment.