Skip to content

Commit

Permalink
Fixing actions
Browse files Browse the repository at this point in the history
  • Loading branch information
dmurphy18 committed Dec 11, 2024
1 parent 852a98f commit a0285f3
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/test-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,20 +89,27 @@ jobs:
run: |
/usr/bin/docker start ${{ github.run_id }}_salt-test
- name: Download requirements file tests/requirements.txt
- name: Current Directory
run: |
pwd
ls -alh
- name: Download requirements file tests/requirements.txt
uses: actions/download-artifact@v4
with:
- name: tests/requirements.txt
- name: requirements.txt

- name: "Install Python Dependencies with pip breakage in container ${{ inputs.container-slug }}"
if: ${{ ( inputs.distro-slug == 'debian-11' ) || ( inputs.distro-slug == 'debian-12' ) || ( inputs.distro-slug == 'debian-13' ) || ( inputs.distro-slug == 'ubuntu-2404' ) }}
run: |
docker exec ${{ github.run_id}}_salt-test python3 -m pip install --break-system-packages -r tests/requirements.txt
## docker exec ${{ github.run_id}}_salt-test python3 -m pip install --break-system-packages -r tests/requirements.txt
docker exec ${{ github.run_id}}_salt-test python3 -m pip install --break-system-packages -r requirements.txt
- name: "Install Python Dependencies without pip breakage in container ${{ inputs.container-slug }}"
if: ${{ ( inputs.distro-slug != 'debian-11' ) && ( inputs.distro-slug != 'debian-12' ) && ( inputs.distro-slug != 'debian-13' ) && ( inputs.distro-slug != 'ubuntu-2404' ) }}
run: |
docker exec ${{ github.run_id}}_salt-test python3 -m pip install -r tests/requirements.txt
## docker exec ${{ github.run_id}}_salt-test python3 -m pip install -r tests/requirements.txt
docker exec ${{ github.run_id}}_salt-test python3 -m pip install -r requirements.txt
- name: Get Version
run: |
Expand All @@ -113,10 +120,6 @@ jobs:
vt_parm_ver=$(echo "${{ matrix.instance }}" | sed 's/-/ /' | sed 's/-/./' | awk -F ' ' '{print $2}')
echo "SaltVersion=$vt_parm_ver" >> $GITHUB_ENV
- name: Current Directory
run: |
pwd
- name: Bootstrap Salt
run: |
# sed 1st - becomes space, 2nd - becomes dot
Expand Down

0 comments on commit a0285f3

Please sign in to comment.