From dfbbd71053155ab14bdb51004023dfad41b007c5 Mon Sep 17 00:00:00 2001 From: Torben <59419684+entorb@users.noreply.github.com> Date: Fri, 17 May 2024 15:17:09 +0200 Subject: [PATCH] minor renaming --- .github/workflows/check.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 7cbf8a2..40bb7a7 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - - name: Check out repository + - name: Checkout repository uses: actions/checkout@v4 with: persist-credentials: false @@ -27,16 +27,18 @@ jobs: python-version: "3.12" cache: "pip" - - name: Run pre-commit hooks - uses: pre-commit/action@v3.0.1 + # - name: Run pre-commit hooks + # uses: pre-commit/action@v3.0.1 - name: Install dependencies + if: ${{ hashFiles('requirements.txt') != '' }} run: | python -m pip install --upgrade pip - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + pip install -r requirements.txt - name: Install and run pytest run: | + echo ${{ hashFiles('requirements.txt') }} cp src/rememberthemilk.toml.example src/rememberthemilk.toml pip install pytest pytest