Fix nxv (#184) #285
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python Tests | |
on: | |
push: | |
branches: [main] | |
paths-ignore: [".teamcity/**"] | |
tags: ["*"] | |
pull_request: | |
merge_group: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: Python ${{ matrix.os }} - ${{ matrix.arch }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
arch: | |
- x86 | |
steps: | |
- name: Checkout Ribasim-NL | |
uses: actions/checkout@v4 | |
with: | |
path: Ribasim-NL | |
# Ribasim needs to be checked out next to this repo even for the prod environment | |
- name: Checkout Ribasim | |
uses: actions/checkout@v4 | |
with: | |
repository: Deltares/Ribasim | |
path: Ribasim | |
- uses: prefix-dev/[email protected] | |
with: | |
manifest-path: Ribasim-NL/pixi.toml | |
pixi-version: "latest" | |
- name: Run tests | |
working-directory: Ribasim-NL | |
run: pixi run test-hydamo | |
env: | |
RIBASIM_NL_CLOUD_PASS: ${{ secrets.RIBASIM_NL_CLOUD_PASS }} | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |