|
12 | 12 | # them. These 'answers' are re-generated daily, or on any push to main, and retrieved whenever |
13 | 13 | # a push is made to a non-main branch. The new proposed changes are referred to as "Dynamic". |
14 | 14 | # |
15 | | -# |
16 | | -# Changelog: |
17 | | -# 2023-04 - Jackson Burns - Added this header, regression tests, cleanup of action in |
18 | | -# in general, and documentation throughout the file. |
19 | | -# 2023-05 - added Docker build steps |
20 | | -# 2023-05-12 - added changes to allow running on forks |
21 | | -# 2023-06-06 - added matrix build for libstdcxx-ng versions 12 and 13 on ubuntu. Only expect 12 to work. |
22 | | -# 2023-06-07 - updated regression testing. Now fails if significant changes are detected. |
23 | | -# 2023-06-15 - revert changes from 06-06, both now work |
24 | | -# 2023-06-27 - add option to run from RMG-database with GitHub resuable workflows |
25 | | -# 2023-07-17 - made it pass by default |
26 | | -# 2023-07-21 - upload the regression results summary as artifact (for use as a comment on PRs) |
27 | | -# 2023-07-31 - removed option to run from RMG-database with GitHub resuable workflows |
28 | | -# 2024-10-01 - deprecated Mambaforge with Miniforge3 for environment creation |
29 | 15 |
|
30 | 16 | name: Continuous Integration |
31 | 17 |
|
|
68 | 54 | python-version: ["3.9", "3.10", "3.11"] |
69 | 55 | os: [macos-15-intel, macos-latest, ubuntu-latest] |
70 | 56 | include-rms: ["", "with RMS"] |
| 57 | + exclude: |
| 58 | + # on macos, only check with RMS (assume it also works without RMS) |
| 59 | + - os: macos-15-intel |
| 60 | + include-rms: "" |
| 61 | + - os: macos-latest |
| 62 | + include-rms: "" |
| 63 | + # on macos, only test with latest Python version |
| 64 | + - os: macos-15-intel |
| 65 | + python-version: "3.9" |
| 66 | + - os: macos-latest |
| 67 | + python-version: "3.9" |
| 68 | + - os: macos-15-intel |
| 69 | + python-version: "3.10" |
| 70 | + - os: macos-latest |
| 71 | + python-version: "3.10" |
71 | 72 | runs-on: ${{ matrix.os }} |
72 | 73 | name: Python ${{ matrix.python-version }} ${{ matrix.os }} Build and Test ${{ matrix.include-rms }} |
73 | 74 | # skip scheduled runs from forks |
@@ -123,8 +124,14 @@ jobs: |
123 | 124 |
|
124 | 125 | # non-regression testing |
125 | 126 | - name: Run Unit, Functional, and Database Tests |
| 127 | + if: matrix.os == 'ubuntu-latest' |
126 | 128 | run: make test-all |
127 | 129 |
|
| 130 | + # for the less capable non-linux runners, we only run units tests |
| 131 | + - name: Run Unit Tests |
| 132 | + if: matrix.os != 'ubuntu-latest' |
| 133 | + run: make test-unittests |
| 134 | + |
128 | 135 | regression-test: |
129 | 136 | runs-on: ubuntu-latest |
130 | 137 | name: Regression Test |
|
0 commit comments