mirror of
https://github.com/Dasemu/skipredictor.git
synced 2026-11-26 07:16:15 +00:00
28 lines
624 B
YAML
28 lines
624 B
YAML
name: CI
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [development]
|
|
push:
|
|
branches: [development, main]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.11"
|
|
cache: "pip"
|
|
|
|
- name: Install dependencies
|
|
run: pip install -r requirements.txt
|
|
|
|
# No linter is configured for the Python codebase yet (no ruff/black/flake8 in
|
|
# requirements.txt or config files), so only the test step runs here.
|
|
- name: Run tests
|
|
run: python -m pytest -q
|