Skip to content

Convert defunct Travis CI workflow to GitHub Actions #5

Convert defunct Travis CI workflow to GitHub Actions

Convert defunct Travis CI workflow to GitHub Actions #5

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: '${{ matrix.os }}'
strategy:
matrix:
os:
- ubuntu-latest
python-version:
- '3.12'
steps:
- name: 'Set up Python ${{ matrix.python-version }}'
uses: actions/setup-python@v5
with:
python-version: '${{ matrix.python-version }}'
cache: pip
cache-dependency-path: |
poetry.lock
pyproject.toml
- uses: actions/checkout@v4
- run: pip install poetry
- run: poetry install --with dev
- run: make tests
- run: make cov
- run: coveralls