Bump sphinx from 5.0.2 to 8.1.3 in /python #2085
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: Red Hat clone | |
# This workflow will test Basix on Red Hat | |
on: | |
schedule: | |
# '*' is a special character in YAML, so string must be quoted | |
- cron: "0 2 * * TUE" | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- "main" | |
merge_group: | |
branches: | |
- main | |
workflow_dispatch: ~ | |
jobs: | |
build: | |
name: Build and test (Red Hat) | |
runs-on: ubuntu-latest | |
container: rockylinux/rockylinux:9 | |
env: | |
CC: gcc | |
CXX: g++ | |
steps: | |
- name: Install dependencies | |
run: | | |
dnf -y update | |
dnf install -y dnf-plugins-core | |
dnf config-manager --set-enabled crb | |
dnf install -y openblas-devel cmake gcc gcc-c++ git lapack-devel python3 python3-devel python3-pip | |
- name: Upgrade pip | |
run: python3 -m pip install pip --upgrade | |
- uses: actions/checkout@v4 | |
- name: Install Basix | |
run: python3 -m pip install .[test] | |
- name: Run units tests | |
run: python3 -m pytest --durations 20 test/ | |
- name: Run Python demos | |
run: python3 -m pytest demo/python/test.py | |
- name: Run C++ demos | |
run: python3 -m pytest demo/cpp/test.py |