add yaml for gitea actions
This commit is contained in:
parent
5424bc3434
commit
0a3827cc8b
15
.gitea/workflows/test.yaml
Normal file
15
.gitea/workflows/test.yaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
name: Z-py Gitea Actions
|
||||||
|
run-name: ${{ gitea.actor }} for z-py
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
setup-environment:
|
||||||
|
runs-on: native
|
||||||
|
steps:
|
||||||
|
- run: nix-shell
|
||||||
|
- run: pip install -r requirements.txt
|
||||||
|
- run: pip install .
|
||||||
|
run-tests:
|
||||||
|
runs-on: native
|
||||||
|
steps:
|
||||||
|
- run: pytest
|
Loading…
x
Reference in New Issue
Block a user