aboutsummaryrefslogtreecommitdiff
path: root/.github
AgeCommit message (Collapse)AuthorFilesLines
2021-08-18Test boost-python on macOSKevin Meagher1-1/+1
Previously the meson test case would only test boost-python on linux. With the #7909 it is now possible to use boost-python on macOS/homebrew. This enables the boost-python test on both linux and macOS. It also uses python.extension_module() instead of shared_library to make the python extension module.
2021-07-26Split run_unittests.py fileXavier Claessens3-0/+6
2021-07-23Merge pull request #9005 from jon-turney/xskip-ci-2Jussi Pakkanen5-1/+21
Add expected skip annotations for non-linux CI runs to framework tests
2021-07-14coverage: disable the concept of "CI failures"Eli Schwartz1-0/+8
code coverage may be interesting to some people as an informational update, but it's really fragile and sometimes obscure, and overall we would really like to NOT have most PRs reporting a red X in the CI overview, when all project/unittests succeeded but codecov decides that by some inscrutbale metric, coverage by % has dropped. Elegant refactorings are penalized, because removing lines of code or rewriting them to be more compact, means the overall percentage of covered code is "less", even though no uncovered code got added. Even worse, the coverage reports often erroneously complain that a PR has "added lines #L<num> - L<num> were not covered by tests" even though github helpfully points out they are "Unchanged files with check annotations". Or more generally, codecov claims that coverage has dropped in code which the PR can't touch. The whole thing is just too much of a source of trouble. So, configure codecov to consider all PRs as successful no matter what. It is still welcome to leave informational comments, though.
2021-07-13Set MESON_CI_JOBNAME for all CI jobsJon Turney5-1/+21
Set MESON_CI_JOBNAME for all CI jobs which run project tests. (Note that ${{ github.job }} is the literal job.id used in the yaml, not any name given to the job with job.id.name, and so is the same for all matrix entries, and thus not suitable for our purposes there).
2021-07-07Annotate framework tests with where they are expected to skipJon Turney1-1/+7
Remove hard-coded framework test skip logic in skippable(), instead annotate test.json with environments in which skip is expected. (Mainly this is done with by testing the value of MESON_CI_JOBNAME now set for linux jobs)
2021-06-29tests: test that we always set encodingDaniel Mensinger1-0/+9
2021-06-23Merge pull request #8912 from mensinda/fixBothLibrariesJussi Pakkanen1-1/+5
Fix `BothLibraries` processing
2021-06-22tests: both_library test improvementsDaniel Mensinger1-1/+5
This switches some `shared_library()` calls to `library()` and adds one new CI matrix entries for -Ddefault_library={static, both}.
2021-06-22coverage: Enable coverage reportsDaniel Mensinger6-14/+39
2021-06-11CI: Split out file format test as a separate GitHub workflowJon Turney1-0/+13
Split out checking of file format as a separate GitHub workflow, rather than running it as part of the project tests for every platform and toolchain combination in CI, so that this test is not effected by the changed paths constraints which are applied to the project tests.
2021-06-11CI: Don't try to update website in a forked repositoryJon Turney1-3/+10
2021-06-11CI: Don't try to push docker image in a forked repositoryJon Turney1-2/+4
The 'build images' workflow runs on a schedule, so will run (and fail) weekly in every fork. Don't try to push to docker if docker credentials aren't in repository secrets. (A test for that has to be written rather indirectly due to https://github.com/actions/runner/issues/520)
2021-06-10Move Cygwin tests to a GitHub workflow (#8829)Jon Turney2-0/+99
* CI: Don't run cross-only test when other workflows are changed * CI: Move Cygwin test run from Azure Pipelines to GitHub workflow Also review installed package list, dropping detritus from 42792554, not removed in f5ed85d7.
2021-06-02ci: Automatically update website when pushing to masterXavier Claessens1-0/+35
2021-03-04ci: Downgrade Qt on MacOS from Qt6 to Qt5Daniel Mensinger1-4/+6
2021-02-05ci: fix yaml syntax errorDylan Baker1-0/+1
2021-01-29Change the Eoan CI to ubuntu rolling ciDylan Baker2-5/+4
This makes the Ubuntu CI always use the latest release, without us having to manually change it.
2021-01-29workflows/os_comp: Don't run if there aren't relavent changesDylan Baker1-1/+13
2021-01-09ci: Run github workflows on stable branches tooNirbheek Chauhan2-0/+4
2020-12-11CI: Move all remaining jobs from travis-ci to GHAChristoph Reiter1-0/+66
Some changes: * Set HOME to /root, since github mounts its own HOME and 'wine' (because of permissions) and 'dub' (can't find packages) don't like that. * Remove the seccomp option, doesn't seem to be needed.
2020-12-11ci: run msys2 on run_unittests.py changesDylan Baker1-0/+2
2020-12-11ci: rebuild macos image on run_unittest.py changesDylan Baker1-0/+2
2020-11-23CI: install glib for the MSYS2 jobs to make pkgconf happyChristoph Reiter1-0/+1
Fixes a test when using pkgconf instead of pkg-config. The .pc file in the pkgconfig-gen test requires it and pkgconf seems be stricter here and fails to validate.
2020-11-23CI: fix a typo in the msys2 workflow trigger pathsChristoph Reiter1-2/+2
2020-11-11CI: combine macos and ci_frameworks actionsDylan Baker2-86/+25
We're already covering most of the actions through the generic macos actions, but we should keep the qt4 action.
2020-11-11actions: Add project tests actions for macosDylan Baker1-0/+25
2020-11-11actions: Add unittests for macosDylan Baker1-0/+35
2020-11-10workflows: be more conservative about launching msysDylan Baker1-1/+9
we don't want to lanuch it if we're only modifying a different workflow template.
2020-11-04CI: install pytest pytest-xdist for msys2Christoph Reiter1-1/+1
2020-11-04CI: Port MSYS2 from azure-pipelines to github actionsChristoph Reiter1-0/+86
This uses the msys2/setup-msys2@v2 to set up MSYS2
2020-10-30Bump minimum supported Python version to 3.6. Closes #6297.Jussi Pakkanen1-20/+0
2020-10-13cmake: Add cross testsDaniel Mensinger1-1/+1
2020-09-25dependencies/hdf5: Convert to a dependency_factoryDylan Baker1-1/+1
Instead of a mega dependency that does everything, use a dependency factory for config-tool and pkg-config
2020-09-10Add a test run in an environment which only has a cross compilerJon Turney1-0/+19
Add '--cross-only' option to run_tests.py, so we can arrange not to run tests in the 'native' suite when only a cross-compiler is available, as they can't succeed.
2020-09-08typing: Add run_mypy.py for easier mypy invocationDaniel Mensinger1-1/+1
2020-09-06Merge pull request #7689 from scivision/fortran_incJussi Pakkanen1-19/+12
correct Fortran include algorithm
2020-09-06ci: update to use latest recommendationsMichael Hirsch3-14/+13
2020-09-03tests: add fortran cmake subproject include testMichael Hirsch1-19/+12
ci:unused_arg: update ninja version to work with fortran+cmake
2020-06-22arglist: Fix remaining mypy errors and warningsDylan Baker1-1/+1
So we can lint it with mypy
2020-06-13ci: Pin ninja to 1.9.0.post1 for nowNirbheek Chauhan1-1/+5
See: https://github.com/mesonbuild/meson/pull/7306#issuecomment-643606736
2020-04-30CI: pin pylintJon Turney1-1/+2
Pin pylint version to workaround https://github.com/PyCQA/pylint/issues/3524
2020-04-28ci: Upgrade to checkout@v2Daniel Mensinger1-2/+2
2020-04-28ci: Added bionic imageDaniel Mensinger2-0/+2
2020-04-17ci: Add python-jsonschemaDylan Baker1-1/+1
Which is used to validate the json schema files in the various test directories in a unit test.
2020-04-10ci: Fix passing env varsDaniel Mensinger1-1/+1
2020-04-05ci: Added cuda image (Arch Linux based)Daniel Mensinger2-5/+8
2020-04-02ci: Retry if dub fetch failedDaniel Mensinger1-2/+2
2020-04-02ci: Automatically build and publish imagesDaniel Mensinger1-0/+54
2020-04-02ci: Use new images in OS CompDaniel Mensinger1-32/+17