Skip to content

ci(actions): Replace Travis CI with GitHub Actions workflow #2

ci(actions): Replace Travis CI with GitHub Actions workflow

ci(actions): Replace Travis CI with GitHub Actions workflow #2

Workflow file for this run

name: build
on:
push:
pull_request:
jobs:
build:
strategy:
matrix:
version:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
- '3.11'
- '3.12'
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.version }}
- name: Install package
run: pip install .
- name: Run tests
run: python -m unittest discover -v