Update json schema for buildtest configuration. Change property value for moduletool to 'none' #2233
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: regressiontest | |
on: | |
pull_request: | |
branches: [devel] | |
paths: | |
- 'buildtest/**' | |
- 'tests/**' | |
- '.github/workflows/regression.yml' | |
- 'requirements.txt' | |
- 'pyproject.toml' | |
jobs: | |
buildtest_regtest: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: true | |
matrix: | |
os: [macos-latest, macos-13, ubuntu-latest] | |
python-version: ['3.8', '3.9', '3.10', '3.11'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python ${{ matrix.python-version }} | |
uses: actions/[email protected] | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Run buildtest unittests for os - ${{ matrix.os }}, python version - ${{ matrix.python-version }} | |
env: | |
OS: ${{ matrix.os }} | |
shell: bash | |
run: | | |
if [ $OS = "ubuntu-latest" ] ; then sudo apt-get install -y csh tcsh zsh && sudo add-apt-repository ppa:kelleyk/emacs && sudo apt-get install -y emacs28; else brew install tcsh zsh emacs ; fi | |
cat /etc/shells | |
source setup.sh | |
pip install pytest | |
pip install coverage | |
python $BUILDTEST_ROOT/buildtest/tools/unittests.py -c | |
returncode=$? | |
if [ $returncode != 0 ]; then exit $returncode; fi | |
buildtest cdash upload --site=github unittests | |
- name: Setup tmate session | |
if: ${{ failure() }} | |
uses: mxschmitt/action-tmate@v3 | |
timeout-minutes: 30 | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
verbose: true |