Skip to content

Fix CI workflow

Fix CI workflow #32

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.10", "3.11", "3.12"]
exclude:
- os: macos-latest
python-version: "3.10"
- os: macos-latest
python-version: "3.11"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
python -m pip install --upgrade pip
make build
pip install coveralls
- name: Checkstyle
if: ${{ matrix.python-version != '3.10' }}
run: |
make checkstyle
- name: Tests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
make test-coverage
coveralls --service=github
echo "$(coverage3 report)" >> $GITHUB_STEP_SUMMARY