Skip to content

Commit

Permalink
Merge pull request open-radiation-sources#32 from makeclean/update_tests
Browse files Browse the repository at this point in the history
Update tests
  • Loading branch information
makeclean authored Jan 31, 2023
2 parents b5b506b + 8ba816a commit deed962
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/python_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.10.9
- name: Build plasma source
run: |
pip install --upgrade pip
pip install -r requirements-develop.txt
python -m build --sdist .
- name: Upload wheel artifact
Expand All @@ -35,7 +36,7 @@ jobs:
needs: build
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
python-version: [3.9.16, 3.10.9]

steps:
- uses: actions/checkout@v2
Expand All @@ -62,7 +63,7 @@ jobs:
needs: build
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
python-version: [3.9.16, 3.10.9]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion requirements-develop.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ build==0.1.0
cmake==3.18.2
flake8==3.8.3
pybind11==2.6.0
pytest==6.0.1
pytest==6.2.5
wheel==0.34.2
1 change: 1 addition & 0 deletions tests/src/test_plasma_source.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do this in one cpp file
#define CATCH_CONFIG_NO_POSIX_SIGNALS // this to catch a bug on glib 2.26
#include "catch.hpp"
#include "plasma_source.hpp"

Expand Down

0 comments on commit deed962

Please sign in to comment.