Skip to content

Commit 7c85d41

Browse files
committed
Add back support for testing against salt master
Adds back support for testing against salt master. Not sure this is actually necessary, but we have been doing it previously.
1 parent 47611cd commit 7c85d41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ jobs:
5252
salt: "master"
5353
- py: "3.9"
5454
salt: "master"
55+
env:
56+
SALT_REQUIREMENT: ${{ matrix.salt == 'master' && 'salt@git+https://github.com/saltstack/salt.git@master' || format('salt=={0}', matrix.salt) }}
5557
steps:
5658
- uses: actions/checkout@v4
5759
- name: Set up Python ${{ matrix.py }}
@@ -74,15 +76,13 @@ jobs:
7476
7577
- name: Install Test Requirements
7678
env:
77-
SALT_REQUIREMENT: salt==${{ matrix.salt }}
7879
PYTHON_VERSIONS: ${{ matrix.py }}
7980
API_BACKEND: ${{ matrix.netapi }}
8081
run: |
8182
nox --force-color -e tests --install-only
8283
8384
- name: Test
8485
env:
85-
SALT_REQUIREMENT: salt==${{ matrix.salt }}
8686
PYTHON_VERSIONS: ${{ matrix.py }}
8787
API_BACKEND: ${{ matrix.netapi }}
8888
SKIP_REQUIREMENTS_INSTALL: YES

0 commit comments

Comments
 (0)