Skip to content

build: run tests even on push #1

build: run tests even on push

build: run tests even on push #1

Workflow file for this run

name: Run tests
on:
pull_request:
branches: [main]
push:
branches:
- 'master'
- 'main'
tags:
- "v*.*.*"
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11', '3.12']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install dependencies
run: |
pip install .[dev]
- name: Test lint, types, and format
run: make test