Skip to content

draft: Python 3 only #221

draft: Python 3 only

draft: Python 3 only #221

Workflow file for this run

name: "build"
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python: [python310, python311, python312]
sphinx: [9.0.0, 8.2.3, 8.1.3, 8.0.2, 7.4.7]
exclude:
- python: python310
sphinx: 8.2.3
- python: python310
sphinx: 8.0.2
- python: python310
sphinx: 7.4.7
- python: python311
sphinx: 8.1.3
- python: python311
sphinx: 8.0.2
- python: python311
sphinx: 7.4.7
- python: python312
sphinx: 8.1.3
- python: python312
sphinx: 8.0.2
- python: python312
sphinx: 7.4.7
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v15
with:
name: datakurre
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix profile install nixpkgs#devenv
- run: LC_ALL=en_US.UTF-8 make devenv-test devenv-coverage devenv-docs PYTHON=${{ matrix.python }} SPHINX=${{ matrix.sphinx }}
- uses: coverallsapp/github-action@v2
with:
debug: true
format: cobertura
github-token: ${{ secrets.GITHUB_TOKEN }}