From e6dd3ee7a436bc2dcd141ba32a01125ffb7b608b Mon Sep 17 00:00:00 2001 From: Aldo Mateli Date: Thu, 14 Sep 2023 00:31:13 +0100 Subject: [PATCH] Use path --- .github/workflows/run_all.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/run_all.yml b/.github/workflows/run_all.yml index d05c317..91cec5d 100644 --- a/.github/workflows/run_all.yml +++ b/.github/workflows/run_all.yml @@ -22,15 +22,15 @@ jobs: run: source .venv/bin/activate - name: Install dependencies run: | - python -m pip install --upgrade pip - pip install poetry - poetry install --no-root + .venv/bin/python -m pip install --upgrade pip + .venv/bin/pip install poetry + .venv/bin/poetry install --no-root - name: Lint run: | - poetry run ruff --format=github wireup + .venv/bin/poetry run ruff --format=github wireup - name: Check formatting run: | - poetry run black --check . + .venv/bin/poetry run black --check . - name: Run tests run: | - python -m unittest discover -s test/ + .venv/bin/python -m unittest discover -s test/