From 118546624cbd3179055c0f8ad19e696945b8b602 Mon Sep 17 00:00:00 2001 From: Daniel Szoke Date: Tue, 5 Mar 2024 15:43:42 +0100 Subject: [PATCH] Add "-e ." to `requirements.txt` --- .github/workflows/main.yml | 36 ++++++++++++++++++------------------ dev-requirements.txt | 1 + 2 files changed, 19 insertions(+), 18 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9649a3d..6297fed 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -8,25 +8,25 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python: ["3.7", "3.8", "3.9", "3.10", "3.11"] steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python }} - - run: pip install -e . -r dev-requirements.txt - - run: PYTEST_SENTRY_ALWAYS_REPORT=1 pytest tests + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python }} + - run: pip install -r dev-requirements.txt + - run: PYTEST_SENTRY_ALWAYS_REPORT=1 pytest tests dist: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 - with: - python-version: '3.x' - - run: | - pip install build - python -m build - - uses: actions/upload-artifact@v3 - with: - name: ${{ github.sha }} - path: dist/* + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: "3.x" + - run: | + pip install build + python -m build + - uses: actions/upload-artifact@v3 + with: + name: ${{ github.sha }} + path: dist/* diff --git a/dev-requirements.txt b/dev-requirements.txt index 2480419..f060cd6 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,2 +1,3 @@ +-e . pytest-rerunfailures pytest<4; python_version < '3.0'