Commit Graph
26 Commits
Author SHA1 Message Date
Bryan W. Weber daa36668e7 [SCons] Fix Sphinx docs build in parallel
The Sphinx build requires both the Cython module to have been built and
the doxygen run to have finished. When running the build in parallel
with scons build -j#, there was the possibility that Sphinx could run
before all its dependencies were built. This change adds dependencies
for the Sphinx builder on Doxygen and the Cython module, resolving the
problem.
2021-02-12 16:57:15 -05:00
Bryan W. Weber d9506818f4 [CI] Cap maximum Sphinx version
Sphinx 4.0 (from the main branch) is incompatible with several
extensions we use (katex, matlabdomain). Set a maximum for the Sphinx
version installed during the CI run to avoid unintentional breakage.
2021-02-12 16:57:15 -05:00
Raymond Speth e49d62bf4a [CI] Disable macOS 11.0 builds because of capacity limitations 2021-01-21 12:06:09 -05:00
Bryan W. Weber a3018479f6 [CI] Remove Python 3.5 and 3.6 from macOS job
GitHub Actions is limited to 5 concurrent macOS runners. Having 10 macOS
jobs was causing a bottleneck in the CI runs. This change reduces the
number of concurrent jobs from a single run to 6, which will hopefully
be sustainable. The other versions of Python are currently tested on
Ubuntu and Windows as well.
2021-01-19 11:41:52 -05:00
Bryan W. Weber a531922b3a [CI] Resolve intermittent macOS build failures
The problem seems to be in cloning the submodules, where a slow
network connection causes the remote end to hang up and the clone fails.
Increasing the buffer size is reputed to solve this error.
2021-01-17 19:00:54 -05:00
Bryan W. Weber 458022364e [CI] Fix deploying dev docs
The github.ref context includes 'refs/heads/' before the branch name,
so just make sure the end of the string matches the branch. Put the
condition into an environment variable so it is in one place.
2021-01-17 19:00:54 -05:00
Bryan W. Weber 2ff126de84 [CI] Fix 404 for python3-lxml dependency
The version of the python3-lxml package stored in the default apt
database on the Ubuntu 18.04 runner is not available from the package
server. This update finds the new copy to resolve the problem.
2021-01-17 19:00:54 -05:00
Bryan W. Weber 37ab749ebb [CI] Update CI workflow 2020-12-10 21:48:17 -05:00
Bryan W. Weber 20c3f2740d [CI] Fix missing Cython & NumPy dependencies
The Cython package for Python 3 is called cython3. We use python_cmd to
check for Cython now, which is Python 3.

The test comparisons are done with the Python that's running SCons,
which is Python 2 in this test. NumPy needs to be installed for that
Python to be able to do CSV file comparisons in the tests.
2020-09-03 14:43:10 -04:00
Ray Speth 95387d31d9 [CI] Workaround for setuptools and ruamel.yaml.clib incompatibility
Fixes #924
2020-09-01 18:18:43 -04:00
Bryan W. Weber b05dddd5d7 [CI] Bump Python 2 builder to Ubuntu 18.04
This change bumps the builder that uses the system Python 2 to run SCons
and the system Python 3 for the Python interface to Ubuntu 18.04 from
16.04. The reason for this change is that Ubuntu 16.04 provides NumPy
1.11, which does not support flexible dtypes when creating arrays
using .full(). We have decided to drop support for NumPy older than 1.12
for this reason. Numpy 1.12 was released in January 2017.
2020-09-01 15:42:39 -04:00
Bryan W. Weber 66f7af142a [CI] Run the Python examples using Bash 2020-08-21 16:07:38 -04:00
Bryan W. Weber 7c4bb2a57b [CI] Install pandas on CI for testing
One of the SolutionArray tests uses pandas as an output option.
2020-07-27 12:59:50 -04:00
Ray Speth 047e74bd48 [CI] Remove separate step to build samples
The samples are now built (and run) as part of `scons test`.
2020-07-03 13:06:02 -04:00
Ray Speth 2fc94beee5 Revise pull request and issue templates 2020-07-01 10:29:28 -04:00
Ray Speth cb1230b076 The default branch is now named 'main' 2020-07-01 10:29:28 -04:00
Bryan W. Weber df37795a75 [CI] Condition adding the SSH key to main branch
Secrets are not available to branches from forked repos, so the SSH
setup step has to be skipped unless the main branch is being used.

Fixes #882
2020-06-28 21:08:37 -04:00
Bryan W. Weber f4da0bd877 [CI] Install the wheel package with pip 2020-06-26 18:00:38 -04:00
Bryan W. Weber 7c36920e81 [CI] Split macOS builds into their own job 2020-06-26 18:00:38 -04:00
Bryan W. Weber ad8eefccd6 [CI] Upload the documentation to the website
Uses the SSH action to add the deploy account SSH key to the
configuration and add the Cantera server to the known_hosts.
2020-06-26 18:00:38 -04:00
Bryan W. Weber dce0b150f9 [CI] Add the documentation build 2020-06-26 18:00:38 -04:00
Bryan W. Weber 2b7cd6ce23 [CI] Use the pipe-to-Bash method for Codecov
Remove samples from coverage build. The tests are what provide the
coverage of the code.
2020-06-26 18:00:38 -04:00
Bryan W. Weber 767d268dbd [CI] Switch CI to GitHub Actions
GitHub Actions offers a number of benefits over TravisCI and Appveyor.
Related to Cantera/enhancements#37
2020-06-26 18:00:38 -04:00
Ingmar Schoegl fc7cc9135e Update templates
- redirect 'Feature Requests' to Cantera/enhancements
- wrap instructions in HTML comment
- avoid unintended line breaks in preformatted text
2020-01-08 14:56:48 -05:00
Bryan W. Weber ba330a797e Create FUNDING.yml
Links to NumFOCUS donate page
2019-11-23 13:15:21 -05:00
Ingmar Schoegl eb02fa9726 Update issue templates
Fixes #698. Further:
- Add SUPPORT.md
- Move community help files to .github folder
2019-11-01 22:16:06 -04:00