update deps and switch from black to ruff and add migration for setti… #264
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test steam-to-sqlite | |
on: | |
push: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.11" | |
cache: "pip" | |
- name: Install dependencies | |
run: | | |
pip install -r dev-requirements.txt | |
pip install ".[dev]" | |
- name: test | |
run: | | |
alembic upgrade head | |
pytest --cov=steam2sqlite --cov-report=xml | |
env: | |
APPIDS_FILE: test_data/app_list_limited.json | |
- name: "Upload coverage to Codecov" | |
uses: codecov/codecov-action@v3 | |
with: | |
fail_ci_if_error: false |