Skip to content

Move from travis to gh actions #5

Move from travis to gh actions

Move from travis to gh actions #5

Workflow file for this run

name: Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12']
os-version: [ubuntu-22.04]
runs-on: ${{ matrix.os-version }}
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 build tools
run: |
python -m pip install --upgrade pip setuptools wheel build pytest
- name: Run Tests
run: |
pytest tests/.