Skip to content

Handle QueryAssertionError in following users/playlists. #2

Handle QueryAssertionError in following users/playlists.

Handle QueryAssertionError in following users/playlists. #2

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
branches:
- "**"
jobs:
test:
name: Test
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: pipx install poetry
- name: Configure Poetry
run: poetry config virtualenvs.in-project true
- name: Specify the version
run: poetry env use python
- name: Install dependencies
run: poetry install
- name: Run tests
run: poetry run pytest --cov-report xml
- name: Upload coverage
uses: codecov/codecov-action@v3
with:
files: "./coverage.xml"