33 lines
555 B
YAML
33 lines
555 B
YAML
name: Test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
workflow_call:
|
|
|
|
|
|
jobs:
|
|
|
|
pytest:
|
|
runs-on: docker
|
|
container:
|
|
image: alpine:latest
|
|
steps:
|
|
- run: apk add nodejs
|
|
- uses: actions/checkout@v4
|
|
- run: pip install -r requirements.txt
|
|
- run: pytest
|
|
|
|
# ruff-check:
|
|
# runs-on: docker
|
|
# container:
|
|
# image: debian:bookworm
|
|
# steps:
|
|
# - uses: actions/checkout@v4
|
|
# - run: pip install -r requirements.txt
|
|
# - run: apt install ruff
|
|
# - run: ruff check
|