Skip to content

Commit

Permalink
requirements: Use Nordic pip-compile-cross-platform
Browse files Browse the repository at this point in the history
Nordic version of pip-compile-cross-platform adds support for
propagating extra-index-urls entries to requirements-fixed.txt

Signed-off-by: Jan Gałda <[email protected]>
  • Loading branch information
jangalda-nsc committed Nov 5, 2024
1 parent 8d0c32c commit b0de541
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/validate-pip-requirements-fixed-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Validate pip requirements-fixed.txt

on:
pull_request:
types: [opened, synchronize, reopened]
types: [ opened, synchronize, reopened ]

Check warning on line 5 in .github/workflows/validate-pip-requirements-fixed-file.yml

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

YAMLLint (brackets)

.github/workflows/validate-pip-requirements-fixed-file.yml:5 too many spaces inside brackets

Check warning on line 5 in .github/workflows/validate-pip-requirements-fixed-file.yml

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

YAMLLint (brackets)

.github/workflows/validate-pip-requirements-fixed-file.yml:5 too many spaces inside brackets
branches:
- main
- 'v*-branch'
Expand Down Expand Up @@ -60,7 +60,9 @@ jobs:
mkvirtualenv pip-fixed-venv > /dev/null 2>&1 || true
workon pip-fixed-venv > /dev/null 2>&1
pip3 install pip-compile-cross-platform==1.4.2 --upgrade > /dev/null 2>&1
pip3 install \
--extra-index-url https://files.nordicsemi.com/artifactory/api/pypi/nordic-pypi/simple \
pip-compile-cross-platform==1.4.2+nordic --upgrade > /dev/null 2>&1
pip-compile-cross-platform \
bootloader/mcuboot/scripts/requirements.txt \
nrf/scripts/requirements-ci.txt \
Expand Down

0 comments on commit b0de541

Please sign in to comment.