fix: QT6 migration #77
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: "yt-to-anki on Linux" | |
on: | |
push: | |
branches: ["master"] | |
pull_request: | |
branches: ["**"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: ["3.10"] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Upgrade pip | |
run: | | |
python -m pip install --upgrade pip | |
- name: Install poetry | |
uses: snok/install-poetry@v1 | |
- name: Install all dependencies | |
run: | | |
poetry install --no-interaction | |
- name: Run lint tasks | |
run: | | |
poetry run invoke lint | |
- name: Run tests | |
run: | | |
poetry run invoke test |