Skip to content

[pre-commit.ci] pre-commit autoupdate #17

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #17

Workflow file for this run

name: test
on:
push:
branches:
- master
- "test-me-*"
tags:
- "*"
pull_request:
branches:
- master
# Set permissions at the job level.
permissions: {}
jobs:
lint:
runs-on: ubuntu-20.04
timeout-minutes: 10
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Lint
run: tox -e lint
test:
runs-on: ubuntu-20.04
timeout-minutes: 10
permissions:
contents: read
strategy:
fail-fast: false
matrix:
python: [
"3.7.1",
"3.7",
"3.8",
"3.9",
"3.10",
"3.11",
"3.12",
]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
allow-prereleases: true
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Test
run: tox -e py