Skip to content

Commit

Permalink
test4
Browse files Browse the repository at this point in the history
  • Loading branch information
xZetsubou committed Jan 29, 2025
1 parent 6863cfa commit 47cbd97
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

env:
PY_VERSION: "3.13"
CACHE_VERSION: 1

jobs:
base:
Expand All @@ -29,13 +30,12 @@ jobs:
run: |
echo "PY_PATH=${{env.pythonLocation}}" >> $GITHUB_OUTPUT
pip install -r requirements_test.txt
ls ${{needs.base.outputs.PY_PATH}}/bin
- name: "Cache dependencies"
uses: actions/[email protected]
with:
path: ${{env.pythonLocation}}
key: ${{ runner.os }}-pip-dependencies-${{ hashFiles('requirements.txt') }}
key: ${{ runner.os }}-pip-dependencies-${{ hashFiles('requirements.txt') }}_${{env.CACHE_VERSION}}

black:
name: Black codestyle
Expand All @@ -50,7 +50,7 @@ jobs:
with:
path: ${{needs.base.outputs.PY_PATH}}
fail-on-cache-miss: true
key: ${{ runner.os }}-pip-dependencies-${{ hashFiles('requirements.txt') }}
key: ${{ runner.os }}-pip-dependencies-${{ hashFiles('requirements.txt') }}_${{env.CACHE_VERSION}}

- name: "Black codestyle check"
run: ${{needs.base.outputs.PY_PATH}}/bin/black --check --diff .
Expand All @@ -68,7 +68,7 @@ jobs:
with:
path: ${{needs.base.outputs.PY_PATH}}
fail-on-cache-miss: true
key: ${{ runner.os }}-pip-dependencies-${{ hashFiles('requirements.txt') }}
key: ${{ runner.os }}-pip-dependencies-${{ hashFiles('requirements.txt') }}_${{env.CACHE_VERSION}}

- name: "Codespell check"
run: ${{needs.base.outputs.PY_PATH}}/bin/codespell
Expand All @@ -86,7 +86,7 @@ jobs:
with:
path: ${{needs.base.outputs.PY_PATH}}
fail-on-cache-miss: true
key: ${{ runner.os }}-pip-dependencies-${{ hashFiles('requirements.txt') }}
key: ${{ runner.os }}-pip-dependencies-${{ hashFiles('requirements.txt') }}_${{env.CACHE_VERSION}}

- name: "Pytest"
run: |
Expand Down

0 comments on commit 47cbd97

Please sign in to comment.