Fix construction (free variables g_Stewart_fun) #506
Workflow file for this run
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: nosnoc tests | |
on: | |
pull_request: | |
push: | |
jobs: | |
test_nosnoc: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Python and pip package | |
shell: bash | |
run: | | |
python3 --version | |
sudo pip3 install virtualenv | |
virtualenv --python=python3 env | |
source env/bin/activate | |
which python | |
pip install -e . | |
pip install -r requirements-test.txt | |
- name: Run tests | |
shell: bash | |
run: | | |
source env/bin/activate | |
mkdir -p test-results | |
python -m pytest --junitxml test-results/results.xml --cov=nosnoc --cov-report=html:test-results/coverage test | |
- name: Publish Test Report | |
uses: mikepenz/action-junit-report@v3 | |
if: always() # always run even if the previous step fails | |
with: | |
report_paths: 'test-results/results.xml' | |
- name: Upload test results | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: test-results | |
path: test-results/ |