Skip to content

Commit

Permalink
Separate windows and non-windows commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowJonathan committed May 29, 2024
1 parent 0ca21d3 commit 9c9d37b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -421,10 +421,17 @@ jobs:
key: ${{ runner.os }}-${{ github.sha }}
fail-on-cache-miss: true

- name: Run python test command
- name: Install soar-sml
run: |
pip3.${{ matrix.python-minor }} install soar-sml -f wheelhouse --no-index
py -3.${{ matrix.python-minor }} Core/ClientSMLSWIG/Python/TestPythonSML.py
- name: Run test command (Non-Windows)
if: matrix.os != 'windows-latest'
run: python3.${{ matrix.python-minor }} Core/ClientSMLSWIG/Python/TestPythonSML.py

- name: Run test command (Windows)
if: matrix.os == 'windows-latest'
run: py -3.${{ matrix.python-minor }} Core/ClientSMLSWIG/Python/TestPythonSML.py

python_push_dev:
name: Publish to test.pypi.org
Expand Down

0 comments on commit 9c9d37b

Please sign in to comment.