up #1
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: Tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
linux_unit: | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [ "3.12"] | |
poetry-version: [1.7] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
- name: Run image | |
uses: abatilo/[email protected] | |
with: | |
poetry-version: ${{ matrix.poetry-version }} | |
- name: Run Poetry Install | |
run: poetry install --all-extras | |
- name: Run Tests | |
run: poetry run pytest --cov --cov-report=xml -k "not integration" | |