mirror of
https://github.com/kuhyx/steam-backlog-enforcer.git
synced 2026-11-10 21:47:04 +01:00
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
31 lines
598 B
YAML
31 lines
598 B
YAML
name: Tests
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [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.x"
|
|
|
|
- name: Install dependencies
|
|
run: pip install -r requirements.txt
|
|
|
|
- name: Run tests with coverage
|
|
run: |
|
|
python -m pytest steam_backlog_enforcer/tests/ \
|
|
--cov=steam_backlog_enforcer \
|
|
--cov-branch \
|
|
--cov-fail-under=100 \
|
|
-v
|