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 4, 2023
1 parent 212ec61 commit 851bfb2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,15 @@ jobs:
sudo apt update
sudo apt install -y libgdal-dev
- name: Install dependencies
if: github.ref_name == 'feat/ci-branch-dependent-requirements'
run: |
python -m pip install --upgrade pip
python -m pip install \
-e ..[tests] \
-r requirements.txt
working-directory: ./backend
- name: Install dependencies
if: github.ref_name != 'feat/ci-branch-dependent-requirements'
run: |
python -m pip install --upgrade pip
python -m pip install \
Expand Down
2 changes: 1 addition & 1 deletion backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ pypn-ref-geo==1.4.0
# taxhub
pypnnomenclature==1.5.4
# via -r requirements-dependencies.in
pypnusershub==1.6.11
pypnusershub==1.6.3
# via
# -r requirements-dependencies.in
# pypnnomenclature
Expand Down

0 comments on commit 851bfb2

Please sign in to comment.