Add generated, performant snake_case for NodeID. #2022
Workflow file for this run
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: Julia Run Testmodels | |
on: | |
push: | |
branches: [main, update/pixi-lock, update/julia-manifest] | |
paths-ignore: [".teamcity/**"] | |
tags: ["*"] | |
pull_request: | |
paths-ignore: [".teamcity/**"] | |
merge_group: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
# needed to allow julia-actions/cache to delete old caches that it has created | |
permissions: | |
actions: write | |
contents: read | |
jobs: | |
test: | |
name: Julia ${{ matrix.os }} - ${{ matrix.arch }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
# https://github.com/Deltares/Ribasim/issues/825 | |
# - macOS-latest | |
- windows-latest | |
arch: | |
- x64 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/cache@v2 | |
with: | |
cache-compiled: "true" | |
cache-registries: "true" | |
- name: "Manually add Conda.jl folder due to bug in its build step" | |
if: matrix.os == 'ubuntu-latest' | |
# https://github.com/JuliaPy/Conda.jl/issues/251 | |
run: | | |
mkdir -p "/home/runner/.julia/conda/3/x86_64" | |
- name: "Same but for Windows" | |
if: matrix.os == 'windows-latest' | |
run: | | |
mkdir "C:\Users\runneradmin\.julia\conda\3\x86_64" | |
- uses: prefix-dev/setup-pixi@v0.8.1 | |
with: | |
pixi-version: "latest" | |
- name: Prepare pixi | |
run: pixi run install-ci | |
- name: Run testmodels with Ribasim Core | |
run: | | |
pixi run ribasim-core-testmodels |