Skip to content

Replace Travis CI with GitHub Actions #3

Replace Travis CI with GitHub Actions

Replace Travis CI with GitHub Actions #3

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- master
jobs:
test:
name: ${{ matrix.os }} / Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version:
- '3.10'
- '3.11'
- '3.12'
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --upgrade pipenv
pipenv install --dev
- name: Run tests
run: pipenv run python -m tests.test