Skip to content

Commit

Permalink
Adjust integration test workflow to run on cyclops vm runner (#594)
Browse files Browse the repository at this point in the history
* Adjust integration test workflow to run on cyclops vm runner

* add pytest-mpi plugin

* fix pip-audit vulnerability warnings

---------

Co-authored-by: Franklin Ogidi <41602287+fcogidi@users.noreply.github.com>
  • Loading branch information
amrit110 and fcogidi committed Apr 22, 2024
1 parent 7b004a5 commit 832df7a
Show file tree
Hide file tree
Showing 5 changed files with 155 additions and 182 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ on:

jobs:
integration-tests:
runs-on: [self-hosted, gpu, db]
runs-on: [self-hosted, gpu, db, cyclops]
steps:
- uses: actions/checkout@v4.1.1
- name: Install poetry
Expand All @@ -58,6 +58,7 @@ jobs:
poetry env use '3.10'
source $(poetry env info --path)/bin/activate
env MPICC=/opt/openmpi-4.1.5/bin/mpicc poetry install --with docs,dev,test --all-extras
mpirun -n 2 python -m pytest --only-mpi
coverage run -m pytest -m integration_test && coverage xml && coverage report -m
- name: Upload coverage to Codecov
uses: Wandalen/wretry.action@v1.4.4
Expand Down
Loading

0 comments on commit 832df7a

Please sign in to comment.