Skip to content

Commit

Permalink
[CI] Add clib_experimental tests to workflow
Browse files Browse the repository at this point in the history
Adding tests to clang-compiler workflow.
  • Loading branch information
ischoegl committed Jan 3, 2025
1 parent 12782a3 commit a06ec48
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,11 @@ jobs:
run: |
sudo apt update
sudo apt install libboost-dev gfortran libomp-dev libomp5 \
libopenblas-openmp-dev libhdf5-dev
libopenblas-openmp-dev libhdf5-dev doxygen graphviz
- name: Upgrade pip
run: python3 -m pip install -U pip setuptools wheel
- name: Install Python dependencies
run: python3 -m pip install ruamel.yaml scons numpy cython pandas pytest
run: python3 -m pip install ruamel.yaml scons numpy cython pandas pytest Jinja2
pytest-xdist pytest-github-actions-annotate-failures pint graphviz
- name: Build Cantera
run: python3 `which scons` build env_vars=all
Expand All @@ -177,6 +177,13 @@ jobs:
run: |
LD_LIBRARY_PATH=build/lib
python3 -m pytest -raP -v -n auto --durations=50 test/python
- name: Generate clib_experimental
run: |
python3 `which scons` doxygen
python3 interfaces/sourcegen/run.py --api=clib --output=.
python3 `which scons` build clib_experimental=y
- name: Run googletests for clib_experimental
run: python3 `which scons` test-clib-experimental --debug=time

macos-multiple-pythons:
name: ${{ matrix.macos-version }} with Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -893,8 +900,14 @@ jobs:
steps:
- uses: actions/checkout@v4
name: Checkout the repository
- name: Override default Python (Windows)
# Other operating systems use default system Python 3
uses: actions/setup-python@v5
with:
python-version: 3.10
if: matrix.os == 'windows-2022'
- name: Install Python dependencies
# Install for the default system Python 3, which is used by 'dotnet build'
# Install Python dependencies, which are used by 'dotnet build'
run: python3 -m pip install ruamel.yaml Jinja2
- name: Install library dependencies with micromamba (Windows)
uses: mamba-org/setup-micromamba@v1
Expand Down

0 comments on commit a06ec48

Please sign in to comment.