Testing devshell in workflow
This commit is contained in:
parent
78ca2ad53f
commit
ce586180e1
1 changed files with 17 additions and 0 deletions
17
.forgejo/workflows/nix-python.yaml
Normal file
17
.forgejo/workflows/nix-python.yaml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
name: Nix Python CI
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: nix-runner
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: run pwd
|
||||
run: pwd
|
||||
|
||||
- name: Run Python Script in DevShell
|
||||
run: |
|
||||
nix develop .#default --command python src/test.py
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue