Multi node check #15
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: unit | |
on: | |
push: | |
# Runs for pull requests | |
pull_request: | |
branches: | |
- master | |
# Runs on publish | |
release: | |
types: | |
[published] | |
# Allow manual triggers | |
workflow_dispatch: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
# Cancel previous jobs if a new version was pushed | |
concurrency: | |
group: "${{ github.ref }}-${{ matrix.arch }}" | |
cancel-in-progress: true | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: dependencies | |
run: | | |
pip install poetry | |
poetry env use python3.10 | |
poetry install --with dev | |
- name: tests | |
run: | | |
source $(poetry env info -p)/bin/activate | |
pytest --ignore=tests/integration tests/ |