Skip to content

Commit 6a25628

Browse files
authored
Also reinstall PyPSA
Removed PACKAGE_NAME environment variable and adjusted package removal commands.
1 parent 4faf792 commit 6a25628

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/test-models.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ on:
99
schedule:
1010
- cron: "0 5 * * *"
1111

12-
env:
13-
PACKAGE_NAME: "linopy"
14-
1512
# Cancel any in-progress runs when a new run is triggered
1613
concurrency:
1714
group: ${{ github.workflow }}-${{ github.ref }}
@@ -89,8 +86,10 @@ jobs:
8986
- name: Install package from ref
9087
if: env.pinned == 'false'
9188
run: |
92-
pixi remove ${{ env.PACKAGE_NAME }}
89+
pixi remove pypsa
90+
pixi remove linopy
9391
pixi add --pypi --git https://github.com/${{ github.repository }}.git ${{ github.event.repository.name }} --rev ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
92+
pixi add pypsa
9493
9594
- name: Run snakemake test workflows
9695
if: env.pinned == 'false'

0 commit comments

Comments
 (0)