This commit is contained in:
parent
cdf651b804
commit
e72d1d2aee
4 changed files with 32 additions and 4 deletions
30
.forgejo/workflows/test.yaml
Normal file
30
.forgejo/workflows/test.yaml
Normal file
|
@ -0,0 +1,30 @@
|
|||
name: Test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
workflow_call:
|
||||
|
||||
|
||||
env:
|
||||
SLIGRO_USERNAME: ${{ secrets.SLIGRO_USERNAME }}
|
||||
SLIGRO_PASSWORD: ${{ secrets.SLIGRO_PASSWORD }}
|
||||
|
||||
jobs:
|
||||
|
||||
pytest:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: alpine:latest
|
||||
steps:
|
||||
- run: apk add nodejs py3-pip ruff
|
||||
- uses: actions/checkout@v4
|
||||
- run: pip install -r requirements.txt --break-system-packages
|
||||
|
||||
- run: pytest
|
||||
|
||||
- run: ruff check
|
Loading…
Add table
Add a link
Reference in a new issue