Skip to content

Commit

Permalink
ci: change pdm groups installation
Browse files Browse the repository at this point in the history
  • Loading branch information
RaczeQ committed Aug 29, 2024
1 parent c5f83ab commit 287db5e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Regenerate lock with environment markers
run: pdm lock --update-reuse --strategy inherit_metadata
- name: Generate requirements.txt
run: pdm export --no-default -G osm -G voronoi -G gtfs -G plotting -G torch -dG docs -dG visualization -f requirements -o requirements.txt
run: pdm export --no-default -G all -dG docs -dG visualization -f requirements -o requirements.txt
- name: Install dependencies
run: pip install --no-deps -r requirements.txt
- name: Install nbconvert dependency
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Regenerate lock with environment markers
run: pdm lock --update-reuse --strategy inherit_metadata
- name: Generate requirements.txt
run: pdm export --no-default -G osm -G voronoi -G gtfs -G plotting -G torch -dG docs -dG visualization -f requirements -o requirements.txt
run: pdm export --no-default -G all -dG docs -dG visualization -f requirements -o requirements.txt
- name: Install dependencies
run: pip install --no-deps -r requirements.txt
- name: Install nbconvert dependency
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate-dev-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Regenerate lock with environment markers
run: pdm lock --update-reuse --strategy inherit_metadata
- name: Generate requirements.txt
run: pdm export --no-default -G docs -G visualization -f requirements -o requirements.txt
run: pdm export --no-default -dG docs -dG visualization -f requirements -o requirements.txt
- name: Install dependencies
run: pip install --no-deps -r requirements.txt
- name: Install nbconvert dependency
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/manual_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ jobs:
- name: Install pdm
run: pip install pdm
- name: Generate lock with newest dependencies
run: pdm lock --lockfile pdm.newest.lock --strategy no_cross_platform -G osm -G voronoi -G gtfs -G plotting -G torch -dG test
run: pdm lock --lockfile pdm.newest.lock --strategy no_cross_platform -G all -dG test
- name: Install srai and tests dependencies
run: pdm install --lockfile pdm.newest.lock -G osm -G voronoi -G gtfs -G plotting -G torch -dG test --skip=post_install
run: pdm install --lockfile pdm.newest.lock -G all -dG test --skip=post_install
- name: Run tests with pytest
run: pdm run pytest -v --durations=20 tests

Expand All @@ -56,8 +56,8 @@ jobs:
- name: Install pdm
run: pip install pdm
- name: Generate lock with oldest dependencies
run: pdm lock --lockfile pdm.oldest.lock --strategy no_cross_platform,direct_minimal_versions -G osm -G voronoi -G gtfs -G plotting -G torch -dG test
run: pdm lock --lockfile pdm.oldest.lock --strategy no_cross_platform,direct_minimal_versions -G all -dG test
- name: Install srai and tests dependencies
run: pdm install --lockfile pdm.oldest.lock -G osm -G voronoi -G gtfs -G plotting -G torch -dG test --skip=post_install
run: pdm install --lockfile pdm.oldest.lock -G all -dG test --skip=post_install
- name: Run tests with pytest
run: pdm run pytest -v --durations=20 tests

0 comments on commit 287db5e

Please sign in to comment.