Skip to content

Commit

Permalink
feat(CI) testing conditional requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Narcisi committed Oct 5, 2023
1 parent 212ec61 commit 88e28e9
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 88e28e9

Please sign in to comment.