-
-
Notifications
You must be signed in to change notification settings - Fork 3
45 lines (32 loc) · 688 Bytes
/
ci.yml
File metadata and controls
45 lines (32 loc) · 688 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: ci
on:
push:
paths:
- "**/*.py"
- "**/*.f90"
env:
CMAKE_BUILD_PARALLEL_LEVEL: 4
CTEST_PARALLEL_LEVEL: 0
CTEST_NO_TESTS_ACTION: error
jobs:
fortran:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: cmake -Bbuild
- run: cmake --build build
- run: ctest --test-dir build -V
python:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, macos-latest, ubuntu-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- run: pip install .[tests,lint]
- run: flake8
- run: mypy
- run: pytest