Skip to content

Replace outdated CI configurations with GitHub Actions #1

Replace outdated CI configurations with GitHub Actions

Replace outdated CI configurations with GitHub Actions #1

Workflow file for this run

name: CI
concurrency:
group: check-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
- master
tags:
- v*
pull_request:
branches:
- master
jobs:
test:
runs-on: '${{ matrix.os }}'
strategy:
matrix:
os:
- ubuntu-latest
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: '${{ matrix.python-version }}'
cache: pip
- run: pip install coveralls tox tox-gh
- run: tox
- run: coveralls
continue-on-error: true
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: "3.x"
cache: pip
- run: make install # TODO: this should only install lint dependencies
- run: make lint