mirror of
https://github.com/long2ice/fastapi-cache.git
synced 2026-03-25 04:57:54 +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-
|
||||
- name: Install linting requirements
|
||||
run: poetry install --no-root --with=linting --all-extras
|
||||
run: poetry install --no-root
|
||||
- name: Execute linters
|
||||
run: make lint
|
||||
|
||||
@@ -55,7 +55,7 @@ jobs:
|
||||
cache: poetry
|
||||
- name: Install testing requirements
|
||||
run: |
|
||||
poetry install --no-root --all-extras
|
||||
poetry install --no-root
|
||||
poetry run pip install tox-gh-actions
|
||||
- name: Execute tests
|
||||
run: poetry run tox
|
||||
|
||||
Reference in New Issue
Block a user