Skip to content

Fixes

Fixes #173

Workflow file for this run

on: [push, pull_request]
name: test
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: cachix/install-nix-action@v15
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: actions/checkout@v2
- uses: actions/cache@v2
id: poetry-install-cache
with:
path: |
.tox/
build/
~/.cache
key: venv9-${{ hashFiles('poetry.lock') }}
restore-keys: venv9-
- run: nix develop --command poetry install
if: steps.poetry-install-cache.output.cache-hit != 'true'
- name: Get environment info
run: |
nix develop --command poetry config --list
nix develop --command poetry env info
nix develop --command python -c 'import sys; print("\n".join(sys.path))'
ls -al
- run: nix develop --command ./script.py test
- run: nix develop --command coverage xml
- uses: codecov/codecov-action@v2