Add ivp::dopri5c to the test suite
#373
Workflow file for this run
This file contains hidden or 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: QA | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| pull_request: | |
| types: ['opened', 'synchronize', 'reopened'] | |
| jobs: | |
| qa-ubuntu-conda: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.10', '3.11', '3.12', '3.13', '3.14'] | |
| julia-version: ['1.11', '1.12'] | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| steps: | |
| - name: Check out repository code | |
| uses: actions/checkout@v4 | |
| - name: Setup conda environment | |
| uses: conda-incubator/setup-miniconda@v3 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| miniforge-version: latest | |
| activate-environment: test | |
| environment-file: environment-linux.yaml | |
| - name: Get Date | |
| id: get-date | |
| run: echo "date=$(/bin/date -u "+%Y%m%d")" >> "$GITHUB_OUTPUT" | |
| - name: Cache Conda env | |
| uses: actions/cache@v4 | |
| env: | |
| # Increase this value to reset cache | |
| # if etc/example-environment.yml has not changed. | |
| CACHE_NUMBER: 2 | |
| with: | |
| path: ~/conda_pkgs_dir | |
| key: ${{ runner.os }}-python-${{ matrix.python-version }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment-linux.yaml') }} | |
| id: cache | |
| - name: Set up Julia | |
| uses: julia-actions/setup-julia@v2 | |
| with: | |
| version: ${{ matrix.julia-version }} | |
| - name: Cache Julia artifacts | |
| uses: julia-actions/cache@v3 | |
| - name: Activate Julia environment | |
| run: | | |
| julia --project=. -e "using Pkg; Pkg.instantiate()" | |
| - name: Set up environment variables | |
| run: | | |
| source env.sh | |
| { | |
| echo "OIF_IMPL_PATH=$OIF_IMPL_PATH" | |
| echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" | |
| echo "PYTHONPATH=$PYTHONPATH" | |
| echo "JULIA_PROJECT=$JULIA_PROJECT" | |
| } >> "$GITHUB_ENV" | |
| - name: Install dev dependencies | |
| run: pip install -r requirements-dev.txt | |
| - name: Show info | |
| run: | | |
| conda info | |
| type gcc | |
| gcc --version | |
| type g++ | |
| g++ --version | |
| type python | |
| python --version | |
| type pip | |
| type julia | |
| git status | |
| echo "OIF_IMPL_ROOT_DIR = ${OIF_IMPL_ROOT_DIR}" | |
| echo "LD_LIBRARY_PATH = $LD_LIBRARY_PATH" | |
| echo "PYTHONPATH = $PYTHONPATH" | |
| echo "LD_LIBRARY_PATH = $LD_LIBRARY_PATH" | |
| - name: Build | |
| run: | | |
| make release | |
| - name: Run tests | |
| run: | | |
| make test |