Skip to content

new .toml[skip test][skip pdf] #268

new .toml[skip test][skip pdf]

new .toml[skip test][skip pdf] #268

Workflow file for this run

name: Pytest
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
- name: Install dependencies
run: |
poetry install --no-root
- name: Run tests
if: >
(github.event_name == 'push' && ! contains(github.event.head_commit.message, '[skip test]')) ||
(github.event_name == 'pull_request' && ! contains(github.event.pull_request.title, '[skip test]'))
run: |
poetry run pytest