summaryrefslogtreecommitdiff
path: root/.github
AgeCommit message (Collapse)AuthorFilesLines
2020-10-11Add testing for Python 3.9 (#19261)Adam J. Stewart5-11/+11
2020-10-11Fix failing mpich build tests (#19259)Adam J. Stewart1-1/+1
By default Spack uses the latest (highest version) GCC compiler available, which might change across updates of the Github CI environment. Since a C compiler is always installed and `mpich~fortran` will result in faster build times, avoid building the FORTRAN interface as part of the test.
2020-09-28macOS CI: replace jupyter with jupyterlab (#19029)Adam J. Stewart1-2/+1
2020-09-02Add new RubyPackage build system base class (#18199)Adam J. Stewart1-2/+11
* Add new RubyPackage build system base class * Ruby: add spack external find support * Add build tests for RubyPackage
2020-09-02Mac OS: support Python >= 3.8 by using fork-based multiprocessing (#18124)Rui Xue3-6/+6
As detailed in https://bugs.python.org/issue33725, starting new processes with 'fork' on Mac OS is not guaranteed to work in general. As of Python 3.8 the default process spawning mechanism was changed to avoid this issue. Spack depends on the fork-based method to preserve file descriptors transparently, to preserve global state, and to avoid pickling some objects. An effort is underway to remove dependence on fork-based process spawning (see #18205). In the meantime, this allows Spack to run with Python 3.8 on Mac OS by explicitly choosing to use 'fork'. Co-authored-by: Peter Josef Scheibel <scheibel1@llnl.gov> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Todd Gamblin <tgamblin@llnl.gov>
2020-08-03MacOS nightly builds: use Python 3.7 in CIMassimiliano Culpo1-0/+12
Nightly builds with MacOS started failing again due to an upgrade of the default virtual environment that now uses Python 3.8 This makes us hit #14102 and every build fails. This commit should be reverted along with the fix to #14102.
2020-08-01Avoid update and upgrades to brew (#17815)Massimiliano Culpo1-2/+0
Ci is currently failing on brew update with the error: ``` Error: Cannot install bazelisk because conflicting formulae are installed. bazel: because Bazelisk replaces the bazel binary Please `brew unlink bazel` before continuing. Unlinking removes a formula's symlinks from /usr/local. You can link the formula again after the install finishes. You can --force this install, but the build may fail or cause obscure side effects in the resulting software. ``` Avoiding: ``` $ brew update $ brew upgrade ``` solves the issue by preventing the risk of conflicting formulae
2020-07-31Move Python 2.6 unit tests to Github Actions (#17279)Massimiliano Culpo1-2/+15
* Run Python2.6 unit tests on Github Actions * Skip url tests on Python 2.6 to reduce waiting times * Skip foreground background tests on Python 2.6 to reduce waiting times * Removed references to Travis in the documentation * Deleted install_patchelf.sh (can be installed from repo on CentOS 6)
2020-07-29Use "fetch-depth: 0" to retrieve all history from remoteMassimiliano Culpo4-10/+19
2020-07-29Simplified YAML files for Github Actions workflowsMassimiliano Culpo4-18/+7
Updated actions where needed
2020-07-29Group tests with similar duration togetherMassimiliano Culpo4-76/+72
Style and documentation tests take just a few minutes to run. Since in Github actions one can't restart a single job but needs to restart an entire workflow, here we group tests with similar duration together.
2020-07-20Fix MacOS build tests (#17542)Massimiliano Culpo2-11/+35
* MacOS build tests - Run on PR that modify the YAML file of the workflow - Don't clone Spack, since we are in the Spack repo now * Try to add opengl to configuration to build jupyter * fixup
2020-07-06Remove references to `master` from CITodd Gamblin3-6/+3
- [x] remove master from github actions - [x] remove master from .travis.yml - [x] make `develop` the default branch for `spack ci`
2020-07-01Moved flake8, shell and documentation tests to Github Action (#17328)Massimiliano Culpo1-0/+80
* Move flake8 tests on Github Actions * Move shell test to Github Actions * Moved documentation build to Github Action * Don't run coverage on Python 2.6 Since we get connection errors consistently on Travis when trying to upload coverage results for Python 2.6, avoid computing coverage entirely to speed-up tests.
2020-07-01Use apple-clang for MacOS nightly tests (#17320)Greg Becker1-6/+6
2020-06-30run github workflows on release branches (#17317)Greg Becker4-0/+4
2020-06-23Added unit tests to Github Actions (#16610)Massimiliano Culpo1-0/+61
* Added unit tests to Github Actions * Set user e-mail and name for git tests to succeed * Simplify setup.sh logic * Replicate Travis script on Github Actions * Update flags since '.' is not allowed * Added badge, simplified workflow * Remove pinning of coverage * Remove unit tests run on Github Actions from Travis
2020-06-15Skip failing test on MacOS (#17072)Massimiliano Culpo1-2/+2
* Skip failing test on MacOS * Update setup-python action and unpin coverage
2020-05-09Fix MacOS tests on developMassimiliano Culpo1-1/+1
The -u option allows to update the current head, so tests won't fail if we are on develop
2020-05-09macOS nightly: +1hr py-jupyterAxel Huebl1-1/+1
check if failures ares actually a real timeout or an error that just causes a hang.
2020-05-09macOS nightly: two coresAxel Huebl1-0/+1
All GitHub actions provide two cores. Just make sure this does not get oversubscribed with potentially visible additional physical cores.
2020-05-09Add unit test on MacOS using Github Actions (#14220)Massimiliano Culpo1-0/+48
- Remove macos tests from travis - Add macos tests in github actions.
2020-05-06macOS Package Builds (nightly) (#16345)Axel Huebl2-0/+62
Add nightly builds for popular and commonly used packages on macOS that should improve the onramp user experience if working well.
2020-04-07Don't run linux build tests for doc PRs (#15895)Adam J. Stewart1-0/+2
2020-04-06Simplify Build Error template (#15864)Adam J. Stewart1-66/+20
2020-04-02Add commands to facilitate Spack/Python/OS reporting (#15834)Adam J. Stewart1-35/+13
* Add --version arg to spack python command * Add `spack debug report` command
2020-03-12Minor updates to CI configuration (#15458)Massimiliano Culpo2-1/+2
* Check on Python versions uses action/checkout@v2 * Update the apt cache before installing system packages
2020-02-27Remove "triage" label from feature requestMassimiliano Culpo1-1/+1
2020-02-27Use checkout v2 to avoid issues on retriggeringMassimiliano Culpo1-1/+1
2020-02-27Improved the feature request templateMassimiliano Culpo1-9/+14
2020-02-27Improved the build error templateMassimiliano Culpo1-7/+18
2020-02-27Improved the bug report templateMassimiliano Culpo1-7/+22
2019-12-31tests: rename checks in github actionsTodd Gamblin2-4/+4
I usually want to look at the Travis CI output, but I currently have to scroll down to see it. This renames checks to be a bit shorter and more consistent with Travis's naming, and also so that actions appear lower than travis and codecov in the list of checks.
2019-12-30copyright: update copyright dates for 2020 (#14328)Todd Gamblin1-1/+1
2019-12-25Migrate build tests from Travis to Github Actions (#13967)Massimiliano Culpo1-0/+57
This PR moves build smoke tests from TravisCI and migrates them to Github Actions. The result is that build tests are performed in parallel with unit tests and they don't hog additional resources on Travis. The workflow will not run if a PR only changes packages in the built-in repository, but will always run on pushes to develop or master. * Removed build tests from Travis and passed them to Github Actions * Store ~/.ccache in Github Actions cache * Add filters on paths and make sure this workflow don't run * Use paths-ignore and exclude only files in the built-in repo * Added a badge to README.md
2019-12-24tests: check min required python version with vermin (#14289)Massimiliano Culpo1-0/+30
This commit removes the `python_version.py` unit test module and the vendored dependencies `pyqver2.py` and `pyqver3.py`. It substitutes them with an equivalent check done using `vermin` that is run as a separate workflow via Github Actions. This allows us to delete 2 vendored dependencies that are unmaintained and substitutes them with a maintained tool. Also, updates the list of vendored dependencies.
2019-08-07Revert "add maintainer review action to main.workflow" (#12316)Peter Scheibel1-9/+0
This reverts commit 54e3bc31f991200688044431f57ad8b3a25c12e8.
2019-08-04add maintainer review action to main.workflowTodd Gamblin1-0/+9
2019-08-03actions: add maintainers as PR reviewers for their packages (#12269)Todd Gamblin2-0/+91
Use `spack pkg changed` and `spack maintainers` to figure out which packages changed and who their maintainers are in a PR. Add any maintainers to the PR as reviewers.
2019-06-30meta: move CODE_OF_CONDUCT.md and CONTRIBUTING.md to .githubTodd Gamblin2-0/+54
- Trying to reduce the number of top-level files in Spack. - CODE_OF_CONDUCT.md can be referenced from the README. - CONTRIBUTING.md is only used to display a message on pull requests, and it still does that when in .github.
2019-02-07bug report template: suggest --stacktrace instead of -s (#10548)Peter Scheibel1-4/+4
1137b18 removed the -s option from spack such that to see a stack trace you must pass the --stacktrace option. The bug report templates were not updated accordingly.
2018-12-19Added labels in github issue templates (#10128)Massimiliano Culpo3-2/+3
2018-08-21fix numbering in build error template (#9030)Andreas Baumbach1-2/+2
The original numbering was not incorrect markdown but this is easier to read.
2018-08-20Introduce templates for specific issue types (#8842)Massimiliano Culpo3-8/+126
This replaces the single github issue-reporting template with templates for the following types of issues: * Build issues * Spack command errors * Feature request Each template includes suggestions which are generally useful for the type of issue encountered.
2018-06-25refactor: move issue_template.md to .github directoryTodd Gamblin1-0/+36