Cluster maintenance is now complete #120
This file contains hidden or 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: build | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-24.04] | |
| python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] | |
| include: | |
| - os: ubuntu-20.04 | |
| python-version: '3.6' | |
| - os: ubuntu-22.04 | |
| python-version: '3.7' | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get -qq update && sudo apt-get install -y libtest-exception-perl libtest-output-perl libdevel-cover-perl acl cpanminus libcgi-pm-perl perl-doc subversion | |
| pip install codecov flask pytest-cov pytest-flake8 coverage scons ihm | |
| - name: Test | |
| run: | | |
| scons coverage=true python=$(which python) test | |
| coverage combine | |
| coverage xml --omit='*/mailer,*/curl,*/sitecustomize.py' | |
| flake8 --exclude doc/conf.py,tools/reindent.py,examples . | |
| - name: Upload Python coverage to codecov | |
| uses: codecov/codecov-action@v4 | |
| env: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
| - name: Test account | |
| run: | | |
| rm -f coverage.xml | |
| py.test --cov=account/account --cov-branch account | |
| - name: Upload account Python coverage to codecov | |
| uses: codecov/codecov-action@v4 | |
| env: | |
| CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |