Skip to content

Commit

Permalink
Try to fix github action error libso.9 not found
Browse files Browse the repository at this point in the history
  • Loading branch information
jinningwang committed Nov 6, 2024
1 parent 256bdb5 commit c9d5719
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
run: |
mamba install -y nbmake pytest-xdist line_profiler # add'l packages for notebook tests.
mamba install --file requirements.txt --file requirements-extra.txt
python -m pip install pyscipopt
python -m pip install -e .
- shell: bash -el {0}
name: Test with pytest and collect coverage
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,22 @@ jobs:
run: |
mamba install -y nbmake pytest-xdist line_profiler # add'l packages for notebook tests.
mamba install --file requirements.txt --file requirements-extra.txt
python -m pip install pyscipopt
python -m pip install -e .
- shell: bash -el {0}
name: Run pip check
run: |
pip check || true # Allow pip check to fail without failing the job
- name: Lint with flake8 for pull requests
if: github.event_name == 'pull_request'
run: |
pip install flake8 # specify flake8 to avoid unknown error
# stop the build if there are Python syntax errors or undefined names
flake8 .
- shell: bash -el {0}
name: Test with pytest
run: |
pytest
- shell: bash -el {0}
name: Test notebooks.
run: |
Expand Down

0 comments on commit c9d5719

Please sign in to comment.