diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f864291..6561029 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,11 +1,10 @@ -name: Test +name: test on: push: branches: - main paths: - - '.github/workflows/**' - 'tests/**' pull_request: types: [ opened, synchronize ] @@ -21,11 +20,14 @@ jobs: uses: actions/setup-python@v3 with: python-version: "3.10" - - name: Install dependencies + - name: Install poetry run: | pip install --upgrade poetry + poetry config virtualenvs.create false + - name: Install dependencies + run: | poetry install poetry install --extras test - name: Test with pytest run: | - pytest \ No newline at end of file + python -m pytest \ No newline at end of file