Skip to content

Add flag to build package passthru.tests #766

Add flag to build package passthru.tests

Add flag to build package passthru.tests #766

Workflow file for this run

name: "Test"
on:
repository_dispatch:
workflow_dispatch:
pull_request:
push:
branches:
- master
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v26
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- run: nix build
- run: nix develop -c pytest -s .
build-flake:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v26
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: List flake structure
run: nix flake show
- run: nix flake check -vL