Skip to content

feat(precheck): initial version #1

feat(precheck): initial version

feat(precheck): initial version #1

name: Precheck Tests
on:
push:
pull_request:
workflow_dispatch:
jobs:
test-precheck:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.11'
cache: 'pip'
- name: Install dependencies
working-directory: precheck
run: pip install -r /requirements.txt
- name: Install nix
uses: cachix/install-nix-action@v20
- name: Run tests
working-directory: precheck
run: nix-shell --run "pytest"