Skip to content

Commit

Permalink
updated workflow for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPatrie committed Feb 5, 2024
1 parent ae06b6c commit ee278db
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
# BioSimulators
- name: Build BioSimulators Docker image
if: matrix.python-version == '3.9'
if: matrix.python-version >= '3.9'
run: |
cp build/smoldyn*.whl scripts/
cd scripts
Expand All @@ -56,18 +56,18 @@ jobs:
--tag ghcr.io/ssandrews/smoldyn/biosimulators_smoldyn:latest \
.
- name: Lint BioSimulators
if: matrix.python-version == '3.9'
if: matrix.python-version >= '3.9'
run: |
python -m pip install flake8
flake8 source/python/smoldyn/biosimulators/ --ignore E501,W503
- name: Install BioSimulators
if: matrix.python-version == '3.9'
if: matrix.python-version >= '3.9'
run: |
cd build
WHEEL_PATH=$(ls smoldyn*.whl)
python -m pip install --force-reinstall "${WHEEL_PATH}[biosimulators,biosimulators-tests]"
- name: Test BioSimulators
if: matrix.python-version == '3.9'
if: matrix.python-version >= '3.9'
run: |
python -m pip install pytest flaky
xvfb-run --auto-servernum python -m pytest tests/test_biosimulators.py --verbose

0 comments on commit ee278db

Please sign in to comment.