Skip to content

Commit

Permalink
Merge pull request #2739 from PnX-SI/feat/ci-branch-dependent-require…
Browse files Browse the repository at this point in the history
…ments

Use requirements.txt for master in CI
  • Loading branch information
camillemonchicourt authored Oct 17, 2023
2 parents d3870ed + 88e28e9 commit b600c3e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,18 @@ jobs:
sudo apt update
sudo apt install -y libgdal-dev
- name: Install dependencies
if: github.base_ref == 'master'
run: |
echo 'Installation des requirements de prod'
python -m pip install --upgrade pip
python -m pip install \
-e ..[tests] \
-r requirements.txt
working-directory: ./backend
- name: Install dependencies
if: github.base_ref != 'master'
run: |
echo 'Installation des requirements de dev'
python -m pip install --upgrade pip
python -m pip install \
-e ..[tests] \
Expand Down

0 comments on commit b600c3e

Please sign in to comment.