mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-04 16:51:40 -05:00
Add CI job for Python2 compat checks
This commit is contained in:
parent
f46e65a006
commit
7a7dcbe2e1
1 changed files with 10 additions and 0 deletions
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
@ -14,6 +14,16 @@ jobs:
|
|||
- name: Check format
|
||||
run: ./check-fmt
|
||||
|
||||
py2-compat:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: cachix/install-nix-action@v16
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
- uses: actions/checkout@v2.4.0
|
||||
- name: Check format
|
||||
run: nix-shell --run 'git ls-files | grep -P "\.py$" | xargs py2-astparse'
|
||||
|
||||
matrix_generate:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
|
|
Loading…
Add table
Reference in a new issue