Skip to content

Commit

Permalink
Merge pull request #439 from annuaire-entreprises-data-gouv-fr/HAEKAD…
Browse files Browse the repository at this point in the history
…I-patch-1

build: rename requirements.pip to requirements.txt
  • Loading branch information
HAEKADI authored Jan 16, 2025
2 parents 2e50e4b + ee9c7c9 commit 3c25e10
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
uses: actions/cache@v3
with:
path: ${{ env.pythonLocation }}
key: build-${{ env.pythonLocation }}-${{ matrix.os }}-${{ hashFiles('app/requirements.pip') }}
restore-keys: build-${{ env.pythonLocation }}-${{ matrix.os }}-${{ hashFiles('app/requirements.pip') }}
key: build-${{ env.pythonLocation }}-${{ matrix.os }}-${{ hashFiles('app/requirements.txt') }}
restore-keys: build-${{ env.pythonLocation }}-${{ matrix.os }}-${{ hashFiles('app/requirements.txt') }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r app/requirements.pip
pip install -r app/requirements.txt
unit-tests:
name: Run Unit Tests
Expand All @@ -47,7 +47,7 @@ jobs:
uses: actions/cache@v3
with:
path: ${{ env.pythonLocation }}
key: build-${{ env.pythonLocation }}-${{ matrix.os }}-${{ hashFiles('app/requirements.pip') }}
key: build-${{ env.pythonLocation }}-${{ matrix.os }}-${{ hashFiles('app/requirements.txt') }}
- name: unit tests
run: |
cd app
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
uses: actions/cache@v3
with:
path: ${{ env.pythonLocation }}
key: build-${{ env.pythonLocation }}-${{ matrix.os }}-${{ hashFiles('app/requirements.pip') }}
key: build-${{ env.pythonLocation }}-${{ matrix.os }}-${{ hashFiles('app/requirements.txt') }}
- name: Run app
run: |
cd app
Expand Down
File renamed without changes.

0 comments on commit 3c25e10

Please sign in to comment.