We are testing irrevolutions #89
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Tests in Docker Container | |
run-name: We are testing irrevolutions | |
on: | |
push: | |
branches: | |
- "**" | |
jobs: | |
set-up-computing-environment: | |
runs-on: ubuntu-latest | |
container: kumiori3/numerix:stable-amd64 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: python3 -m pip install . | |
- name: List installed packages | |
run: | | |
pip list | |
- name: Test import | |
run: python3 -c "import irrevolutions" | |
- name: Run 1d test | |
run: pytest -v test/test_1d.py | |
- name: Run tests | |
run: cd test && pytest -v . |