Skip to content

Adopt GitHub workflows #1

Adopt GitHub workflows

Adopt GitHub workflows #1

Workflow file for this run

name: test
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
test:
name: test - ${{ matrix.os }} - ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "windows-latest"]
python-version: ["3.9"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install pre-commit tox
- name: Test this project
run: |
pre-commit run -a
tox run