Skip to content

[not for merge] DESC release branch #2125

[not for merge] DESC release branch

[not for merge] DESC release branch #2125

Workflow file for this run

name: Parsl
on:
pull_request:
types:
- opened
- synchronize
jobs:
main-test-suite:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
runs-on: ubuntu-20.04
timeout-minutes: 60
steps:
- uses: actions/checkout@master
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Non-requirements based install
run: |
sudo apt-get update -q
python --version
# this is to make the workqueue binary installer happy
sudo apt-get install -y libpython3.5
- name: make deps clean_coverage
run: |
make deps
make clean_coverage
- name: make test
run: |
make test
- name: Documentation checks
run: |
pip install .[docs]
sudo apt-get install -y pandoc
cd docs
test ! -e stubs
# check we can build the docs without warnings
PYTHONPATH=/tmp/cctools/lib/python3.8/site-packages make SPHINXOPTS=-W html
cd ..
# assert that none of the runs in this test have put an ERROR message into a
# database manager log file or monitoring router log file. It would be better if
# the tests themselves failed immediately when there was a monitoring error, but
# in the absence of that, this is a dirty way to check.
bash -c '! grep ERROR runinfo*/*/database_manager.log'
bash -c '! grep ERROR runinfo*/*/monitoring_router.log'
- name: Checking parsl-visualize
run: |
sudo apt-get install -y graphviz
pip install .[monitoring]
parsl/tests/test-viz.sh
- name: clear runinfo from all previous steps
run: |
rm -rfv runinfo/
# config_local_test comes after viz so that the large monitoring.db
# created by `make test` is still around
- name: make config_local_test
run: |
make config_local_test
- name: make coverage
run: |
make coverage
- name: Archive runinfo logs
if: ${{ always() }}
uses: actions/upload-artifact@v2
with:
name: runinfo-${{ matrix.python-version }}
path: runinfo/