From 063ec8c12c044e51f5d18489fb3f78c077fde88c Mon Sep 17 00:00:00 2001 From: Michael Behrisch Date: Thu, 19 Oct 2023 19:48:39 +0200 Subject: [PATCH] global texttesttmp in windows ci #3 --- .github/workflows/wheel-windows.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/wheel-windows.yml b/.github/workflows/wheel-windows.yml index 7940bea3ae98..1631b77123d1 100644 --- a/.github/workflows/wheel-windows.yml +++ b/.github/workflows/wheel-windows.yml @@ -125,6 +125,8 @@ jobs: fail-fast: false matrix: python_version: [3.7, 3.8, 3.9, '3.10', 3.11, 3.12] + env: + TEXTTEST_TMP: 'D:/texttest' steps: - name: Cloning SUMO @@ -158,7 +160,6 @@ jobs: - name: Running meta tests and cleaning up run: | - $env:TEXTTEST_TMP = "D:/texttest" $env:TEXTTEST_CI_APPS = "-ts meta" tests\runCiTests.bat $env:pythonLocation\Scripts\texttestc.py # python -m pip uninstall -y eclipse-sumo @@ -166,7 +167,6 @@ jobs: - name: Running libsumo tests if: matrix.python_version == '3.12' run: | - $env:TEXTTEST_TMP = "D:/texttest" $env:TEXTTEST_CI_APPS = "-a complex.libsumo" python -m pip install (Get-ChildItem -Filter python-sumo-wheels/sumolib-*).FullName (Get-ChildItem -Filter python-sumo-wheels/traci-*).FullName $PYTHON_VERSION="${{ matrix.python_version }}".subString(2) @@ -175,14 +175,14 @@ jobs: - name: Compressing test results if: failure() - run: Compress-Archive -Path D:/texttest -DestinationPath D:/texttest/tt.zip + run: Compress-Archive -Path $env:TEXTTEST_TMP -DestinationPath D:/tt.zip - name: Uploading test results if: failure() uses: actions/upload-artifact@v3 with: name: texttesttmp-${{ matrix.python_version }} - path: D:/texttest/tt.zip + path: D:/tt.zip if-no-files-found: warn ###################