Skip to content

Try adding python 3.12 support #155

Try adding python 3.12 support

Try adding python 3.12 support #155

Workflow file for this run

name: Makefile CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.8"
- uses: snok/[email protected]
with:
version: 1.8.2
virtualenvs-create: false
virtualenvs-in-project: false
- name: Lint
run: make lint
test:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: snok/[email protected]
with:
version: 1.8.2
virtualenvs-create: false
virtualenvs-in-project: false
- name: Test
run: make test
doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.8"
- uses: snok/[email protected]
with:
version: 1.8.2
virtualenvs-create: false
virtualenvs-in-project: false
- name: Test
run: make test
- name: Coverage Badge
run: make coverage-badge
- name: Doc
run: make doc
- name: Copy code coverage
run: cp -r .meta/html_cov .meta/doc
- name: Move coverage badge
run: mv .meta/html_cov/badge.svg .meta/doc
- name: Publish doc
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: .meta/doc
token: ${{ secrets.REPO_TOKEN }}
if: ${{ github.ref == 'refs/heads/main' }}