Skip to content
Open
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
6 changes: 3 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09
with:
fetch-depth: 0

- name: Set up Python with Poetry
uses: Deltares-research/github-actions/actions/python-setup/poetry@main
uses: Deltares-research/github-actions/actions/python-setup/poetry@e40b79ba9ee2e6d8d16dde4610f02c3a5af9de5a
with:
python-version: ${{ matrix.python-version }}
poetry-version: 2.3.3
version: 2.3.3

- name: Login to DockerHub
uses: docker/login-action@v2
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/mkdocs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09
with:
fetch-depth: 0

- uses: Deltares-research/github-actions/actions/mkdocs-deploy@main
- uses: Deltares-research/github-actions/actions/mkdocs-deploy@e40b79ba9ee2e6d8d16dde4610f02c3a5af9de5a
with:
trigger: pr
package-manager: poetry
Expand All @@ -38,11 +38,11 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09
with:
fetch-depth: 0

- uses: Deltares-research/github-actions/actions/mkdocs-deploy@main
- uses: Deltares-research/github-actions/actions/mkdocs-deploy@e40b79ba9ee2e6d8d16dde4610f02c3a5af9de5a
with:
trigger: main
package-manager: poetry
Expand All @@ -59,7 +59,7 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09
with:
fetch-depth: 0
ref: ${{ github.event.workflow_run.head_branch || github.ref }}
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
echo "tag=${TAG}" >> "$GITHUB_OUTPUT"
echo "prerelease=${IS_PRERELEASE}" >> "$GITHUB_OUTPUT"

- uses: Deltares-research/github-actions/actions/mkdocs-deploy@main
- uses: Deltares-research/github-actions/actions/mkdocs-deploy@e40b79ba9ee2e6d8d16dde4610f02c3a5af9de5a
with:
trigger: release
package-manager: poetry
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ jobs:
contents: write
steps:
- name: Check out the code
uses: actions/checkout@v5
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09
with:
fetch-depth: 0
ref: ${{ github.event.inputs.release_branch }}

- name: Create release with version bump
id: release
uses: Deltares-research/github-actions/actions/release/github@main
uses: Deltares-research/github-actions/actions/release/github@e40b79ba9ee2e6d8d16dde4610f02c3a5af9de5a
with:
release-branch: ${{ github.event.inputs.release_branch }}
increment: ${{ github.event.inputs.increment }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
os: [windows-latest, ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09
with:
fetch-depth: 0

Expand All @@ -27,15 +27,15 @@ jobs:
brew install libomp

- name: Set up Python with Poetry
uses: Deltares-research/github-actions/actions/python-setup/poetry@main
uses: Deltares-research/github-actions/actions/python-setup/poetry@e40b79ba9ee2e6d8d16dde4610f02c3a5af9de5a
with:
python-version: ${{ matrix.python-version }}
poetry-version: 2.3.3
version: 2.3.3

- name: Test with pytest
run: |
poetry run pytest --cov . --cov-report xml:coverage-reports/coverage-hydrolib-core.xml --junitxml=xunit-reports/xunit-result-hydrolib-core.xml

- uses: codecov/codecov-action@v5
- uses: codecov/codecov-action@0fb7174895f61a3b6b78fc075e0cd60383518dac
env:
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
2 changes: 1 addition & 1 deletion .github/workflows/wheel-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09
with:
fetch-depth: 0
ref: ${{ inputs.ref }}
Expand Down
Loading