Skip to content

Merge branch 'main' of github.com:mnot/httplint #93

Merge branch 'main' of github.com:mnot/httplint

Merge branch 'main' of github.com:mnot/httplint #93

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
name: Tests on ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Cache venv
uses: actions/cache@v3
with:
path: .venv
key: ${{ runner.os }}-${{ matrix.python-version }}-venv-${{ hashFiles('pyproject.toml') }}
- name: Set up venv
run: make venv
- name: Typecheck
run: make typecheck
- name: Lint
run: make lint
- name: Test
run: make test