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 2171cab
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,20 @@ 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-dev.txt
-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 \
-e ..[tests] \
-r requirements.txt
working-directory: ./backend
- name: Show database branches and dependencies
run: |
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 2171cab

Please sign in to comment.