From e5c408d5a680b5bfcb2b1758c40fce6f95edd7b4 Mon Sep 17 00:00:00 2001 From: rlskoeser Date: Tue, 13 Aug 2024 11:29:23 -0400 Subject: [PATCH] Update pip install for unit tests to use pyproject.toml --- .github/workflows/unit_tests.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index e0792eab..9435af81 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -115,16 +115,14 @@ jobs: uses: actions/cache@v4 with: path: ~/.cache/pip - key: pip-${{ matrix.python }}-${{ hashFiles('requirements.txt') }} + key: pip-${{ matrix.python }}-${{ hashFiles('pyproject.toml') }} restore-keys: | - pip-${{ matrix.python }}-${{ hashFiles('requirements.txt') }} + pip-${{ matrix.python }}-${{ hashFiles('pyproject.toml') }} pip-${{ matrix.python }} pip- - - name: Install dependencies - run: | - pip install -r requirements.txt - pip install -r dev-requirements.txt + - name: Install python dependencies + run: pip install -e '.[dev]' - name: Download webpack stats uses: actions/download-artifact@v4