Skip to content

Commit

Permalink
Update swig path from which on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
belerico committed Apr 11, 2024
1 parent 2fc7c7f commit bc020e9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cpu-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,16 @@ jobs:
run: |
env\\Scripts\\Activate.ps1
python -m pip install swig
$env:Path = '${GITHUB_WORKSPACE}/env/bin/swig;' + $env:Path
$env:Path = '${GITHUB_WORKSPACE}\\env\\Scripts\\swig.exe;' + $env:Path
python -m pip install -e .[atari,box2d,test,dev]
- name: Install packages Linux
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
source env/bin/activate
python -m pip install swig
PATH="${GITHUB_WORKSPACE}/env/bin/swig:$PATH"
SWIG_PATH=$(which swig)
PATH="$SWIG_PATH:$PATH"
python -m pip install -e .[atari,box2d,test,dev]
- name: Run tests Windows
Expand Down

0 comments on commit bc020e9

Please sign in to comment.