mirror of
https://github.com/long2ice/fastapi-cache.git
synced 2026-03-25 13:07:53 +00:00
CI: tox now takes care of extras and groups
The outer Poetry installation can be simplified as long as tox is part of the dev group.
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
|||||||
${{ runner.os }}-mypy-${{ steps.setup-python.outputs.python-version }}-
|
${{ runner.os }}-mypy-${{ steps.setup-python.outputs.python-version }}-
|
||||||
${{ runner.os }}-mypy-
|
${{ runner.os }}-mypy-
|
||||||
- name: Install linting requirements
|
- name: Install linting requirements
|
||||||
run: poetry install --no-root --with=linting --all-extras
|
run: poetry install --no-root
|
||||||
- name: Execute linters
|
- name: Execute linters
|
||||||
run: make lint
|
run: make lint
|
||||||
|
|
||||||
@@ -55,7 +55,7 @@ jobs:
|
|||||||
cache: poetry
|
cache: poetry
|
||||||
- name: Install testing requirements
|
- name: Install testing requirements
|
||||||
run: |
|
run: |
|
||||||
poetry install --no-root --all-extras
|
poetry install --no-root
|
||||||
poetry run pip install tox-gh-actions
|
poetry run pip install tox-gh-actions
|
||||||
- name: Execute tests
|
- name: Execute tests
|
||||||
run: poetry run tox
|
run: poetry run tox
|
||||||
|
|||||||
Reference in New Issue
Block a user