This commit is contained in:
21
.gitea/workflows/python.yml
Normal file
21
.gitea/workflows/python.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
name: Test python action
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: node-current
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
- name: Set up UV
|
||||
uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
|
||||
|
||||
- run: |
|
||||
apt update
|
||||
apt install libpcsclite1 libpcsclite-dev python3-dev -y
|
||||
|
||||
- name: Install deps
|
||||
run: uv sync --locked --all-extras --dev
|
||||
|
||||
- name: Run tests
|
||||
run: uv run pytest test
|
||||
Reference in New Issue
Block a user