Set a component's parent when restoring it from cache. This only seem… #938
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: Python | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.8, 3.9, "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v2.3.4 | |
with: | |
fetch-depth: 1 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2.1.4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Poetry | |
uses: abatilo/actions-poetry@v2.1.6 | |
with: | |
poetry-version: 1.6.1 | |
- name: Set Poetry config | |
run: | | |
poetry config virtualenvs.path ~/.virtualenvs${{ matrix.python-version }} | |
- name: Install dependencies | |
run: poetry install | |
- name: ruff check | |
run: poetry run ruff . | |
- name: Run all tests | |
run: poetry run nox |