Add resolved
method that will only get called once even when there are
#1003
Workflow file for this run
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: | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.8, 3.9, "3.10", "3.11"] | |
steps: | |
- uses: actions/[email protected] | |
with: | |
fetch-depth: 1 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/[email protected] | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Poetry | |
uses: abatilo/[email protected] | |
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 check . | |
- name: Run all tests | |
run: poetry run nox |