Skip to content

Commit

Permalink
Merge pull request #3 from miguelaferreira/fix-testing
Browse files Browse the repository at this point in the history
Fix testing on build workflow
  • Loading branch information
Limhes authored Mar 15, 2021
2 parents ff8ba08 + 65f75b6 commit 123eb7a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,16 @@ jobs:
with:
python-version: '3.x'
architecture: 'x64'
- name: 'Build library egg'
run: |
sudo apt-get update
sudo apt-get install -y libeigen3-dev
cd python
python setup.py install --user
- name: 'Run tests'
run: python -m test
run: |
pip install --user pytest numpy matplotlib
python -m pytest tests/test_CE.py
python -m pytest tests/test_EC.py
python -m pytest tests/test_Ei.py
python -m pytest tests/test_Er.py
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ The release workflow will first build both Linux and Windows artifacts, and then
The building process for Linux leverages a docker image that contains multiple python versions.
The build itself is described in the [Dockerfile](./Dockerfile) committed to the repository.

The building process for Windows leverages GitHub Actions matrix strategy to create different build jobs for each version of Python that the artefacts are built against.
The building process for Windows leverages GitHub Actions matrix strategy to create different build jobs for each version of Python that the artefacts are built against.

0 comments on commit 123eb7a

Please sign in to comment.