Skip to content

ci: bump CI dependencies #49

ci: bump CI dependencies

ci: bump CI dependencies #49

Workflow file for this run

name: Run tests
on:
push:
branches: [master]
paths:
- '.github/workflows/test.yml'
- 'topstats/**/*.py'
pull_request:
paths:
- '.github/workflows/test.yml'
- 'topstats/**/*.py'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', 3.11, 3.12, 3.13, 3.14]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: python3 -m pip install .
- name: Run tests
run: python3 test.py
env:
TOPSTATS_TOKEN: ${{ secrets.TOPSTATS_TOKEN }}
- name: Install dev dependencies
if: ${{ matrix.python-version == 3.14 }}
run: python3 -m pip install ruff
- name: Lint with ruff
if: ${{ matrix.python-version == 3.14 }}
run: python3 -m ruff check