Add publications to README #12
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: Run mock project | |
on: [push, workflow_dispatch] | |
jobs: | |
run-mock_project: | |
name: Install NUTS from wheel and run mock project | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install poetry | |
run: pip install poetry | |
- name: Build package | |
run: poetry build | |
- name: Create and start virtual environment | |
run: | | |
python3 -m venv .venv | |
source .venv/bin/activate | |
working-directory: tests/mock_project | |
- name: Install NUTS using wheel | |
run: pip install ../../dist/nuts*.whl | |
working-directory: tests/mock_project | |
- name: Run pytest in mock_project | |
run: pytest --nornir-config nuts_config.yaml -v | |
working-directory: tests/mock_project |