This repository has been archived by the owner on Jan 18, 2024. It is now read-only.
Add devcontainer #17
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: Tox | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
- 'docs/**' | |
- 'docsrc/**' | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
- 'docs/**' | |
- 'docsrc/**' | |
jobs: | |
test: | |
name: Run unit tests in tox | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.11' | |
- name: Install Python dependencies | |
run: | | |
pipx install tox | |
pipx install poetry | |
- name: Run all tox tests | |
run: tox -- |