Skip to content

Commit

Permalink
global texttesttmp in windows ci #3
Browse files Browse the repository at this point in the history
  • Loading branch information
behrisch committed Oct 19, 2023
1 parent bc51b18 commit 063ec8c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/wheel-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -158,15 +160,13 @@ 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

- 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)
Expand All @@ -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

###################
Expand Down

0 comments on commit 063ec8c

Please sign in to comment.