Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: true

- name: Install dependencies with multirepo
uses: chipflow/pdm-multirepo@v1
uses: chipflow/pdm-multirepo@v3

- name: Build coverage file
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
cache: true

- name: Install dependencies with multirepo
uses: chipflow/pdm-multirepo@v1
uses: chipflow/pdm-multirepo@v3

- name: Run tests
run: pdm run test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
cache: true

- name: Install dependencies with multirepo
uses: chipflow/pdm-multirepo@v1
uses: chipflow/pdm-multirepo@v3

- name: Build docs
run: pdm docs
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/test-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,15 @@ jobs:
if: github.event_name == 'pull_request'
run: |
git remote update
git checkout ${{ github.head_ref }} || echo "Falling back to main"
git checkout ${{ github.head_ref }} || echo "${{github.head_ref}} not found, checking base ${{github.base_ref}}"

- name: Check for branch ${{ github.base_ref }}
working-directory: ${{ env.test_repo_path }}
if: github.event_name == 'pull_request'
run: |
git remote update
git checkout ${{ github.base_ref }} || echo "${{github.base_ref}} not found Falling back to main"


- name: Set up PDM
uses: pdm-project/setup-pdm@v4
Expand All @@ -50,7 +58,7 @@ jobs:
cache-dependency-path: './**/pyproject.toml'

- name: Install dependencies with multirepo
uses: chipflow/pdm-multirepo@v1
uses: chipflow/pdm-multirepo@v3
with:
working-directory: ${{ env.test_repo_path }}

Expand Down
Loading