From bb793ed3bcb34161f9f97e2acc71fe0b18e66467 Mon Sep 17 00:00:00 2001 From: "Daniel A. Wozniak" Date: Fri, 6 Dec 2024 22:51:09 -0700 Subject: [PATCH] Use nox to extract tarball on container --- .github/workflows/test-packages-action.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test-packages-action.yml b/.github/workflows/test-packages-action.yml index ad85db2cb07..9dab48f714e 100644 --- a/.github/workflows/test-packages-action.yml +++ b/.github/workflows/test-packages-action.yml @@ -125,15 +125,6 @@ jobs: with: name: nox-linux-${{ matrix.arch }}-${{ inputs.nox-session }} - - name: Decompress .nox Directory - run: | - nox --force-color -e decompress-dependencies -- linux ${{ matrix.arch }} - - - name: Setup Python Tools Scripts - uses: ./.github/actions/setup-python-tools-scripts - with: - cache-prefix: ${{ inputs.cache-prefix }} - - name: "Pull container ${{ matrix.container }}" run: | docker pull ${{ matrix.container }} @@ -146,6 +137,15 @@ jobs: run: | /usr/bin/docker start ${{ github.run_id }}_salt-test + - name: Decompress .nox Directory + run: | + docker exec ${{ github.run_id}}_salt-test nox --force-color -e decompress-dependencies -- linux ${{ matrix.arch }} + + - name: Setup Python Tools Scripts + uses: ./.github/actions/setup-python-tools-scripts + with: + cache-prefix: ${{ inputs.cache-prefix }} + - name: List Free Space run: | df -h || true @@ -155,7 +155,7 @@ jobs: SKIP_REQUIREMENTS_INSTALL: "1" PRINT_SYSTEM_INFO_ONLY: "1" run: | - nox --force-color -e ${{ inputs.nox-session }}-pkgs -- ${{ matrix.tests-chunk }} + docker exec ${{ github.run_id }}_salt-tests nox --force-color -e ${{ inputs.nox-session }}-pkgs -- ${{ matrix.tests-chunk }} - name: Run Package Tests env: