File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Architecture
2+
3+ on :
4+ push :
5+ branches :
6+ - " **"
7+ tags :
8+ - " v*"
9+ pull_request :
10+ branches : [main]
11+ merge_group :
12+ branches : [main]
13+ # Weekly build on Mondays at 8 am
14+ schedule :
15+ - cron : " 0 8 * * 1"
16+
17+ jobs :
18+ test :
19+ runs-on : ubuntu-latest
20+ image : ${{ matrix.arch }}/docker
21+ strategy :
22+ matrix :
23+ arch : ["s390x"]
24+ steps :
25+ - name : Checkout FFCx
26+ uses : actions/checkout@v6
27+
28+ - name : Set up Python
29+ uses : actions/setup-python@v6
30+
31+ - name : Install dependencies (non-Python, Linux)
32+ run : sudo apt-get install -y graphviz libgraphviz-dev ninja-build pkg-config libblas-dev liblapack-dev
33+
34+ - name : Install FEniCS dependencies
35+ run : |
36+ pip install git+https://github.com/FEniCS/ufl.git
37+ pip install git+https://github.com/FEniCS/basix.git
38+
39+ - name : Install FFCx
40+ run : pip install .[ci,optional]
41+
42+ - name : Run unit tests
43+ run : >
44+ python -m pytest test/
45+ -n auto
46+ -W error
47+
48+ - name : Run FFCx demos
49+ run : >
50+ pytest demo/test_demos.py
51+ -W error
52+ # -n auto
53+
54+
You can’t perform that action at this time.
0 commit comments