summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorIwan Aucamp <aucampia@gmail.com>2022-07-18 19:34:36 +0200
committerGitHub <noreply@github.com>2022-07-18 19:34:36 +0200
commitfda98ece3a3ea954d561ea6d094a101d29faabc5 (patch)
treecf27a4cc28cc4e7cfc38bda42b36d4c1399da208 /.github
parent0d413fdc10af229357011f82bdd443d5ae1eaa22 (diff)
downloadrdflib-fda98ece3a3ea954d561ea6d094a101d29faabc5.tar.gz
build: Taskfile improvements (#2032)
- Added individual tasks for black, isort and mypy to make it easier to run these directly. - Change flag variables to be JSON based so that they can be disabled with "false", this makes it easier to work with tooling that does not distinguish between empty and unset environment variables. - Add a `venv:run` target to make it easier to run things inside the venv, e.g. `task venv:run -- pip install lxml`. - Change pytest invocation to use the pytest script instead of using `python -m pytest` as the latter does some things which are not desirable.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/validate.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml
index de545ef5..9f3c9464 100644
--- a/.github/workflows/validate.yaml
+++ b/.github/workflows/validate.yaml
@@ -73,7 +73,7 @@ jobs:
task \
TOX_EXTRA_COMMAND="${{ matrix.TOX_EXTRA_COMMAND }}" \
OS=${{ matrix.os }} \
- EXTENSIVE=${{ matrix.extensive-tests }} \
+ EXTENSIVE=${{ matrix.extensive-tests || 'false' }} \
TOX_PYTHON_VERSION=${{ matrix.python-version }} \
TOXENV_SUFFIX=${{ matrix.TOXENV_SUFFIX }} \
gha:validate
@@ -85,8 +85,8 @@ jobs:
fail-fast: false
matrix:
include:
- - task: "gha:flake8"
- python-version: 3.8
+ - task: "gha:flake8"
+ python-version: 3.8
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{env.DEFAULT_PYTHON}}