From 982290bebdb0b6ab8bc962cca1adfbfc84ee720d Mon Sep 17 00:00:00 2001 From: Artur Toshev Date: Tue, 2 Jan 2024 05:49:38 +0000 Subject: [PATCH] workflow fix --- .github/workflows/tests.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b1d1f28..ce30d76 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -3,8 +3,8 @@ name: Tests on: push: branches: [ "unit_tests" ] - pull_request: - branches: [ "main" ] +# pull_request: +# branches: [ "main" ] permissions: contents: read @@ -27,11 +27,9 @@ jobs: run: | python -m pip install --upgrade pip pip install poetry - poetry config virtualenvs.in-project false - poetry config virtualenvs.path ~/.virtualenvs - name: Install dependencies run: | poetry install - name: Test with pytest run: | - pytest + .venv/bin/pytest