2020 python-version : ' 3.6'
2121 - name : " Main Script"
2222 run : |
23- curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/prepare-and-run-flake8.sh
23+ curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/prepare-and-run-flake8.sh
2424 . ./prepare-and-run-flake8.sh "$(basename $GITHUB_REPOSITORY)" ./examples ./test
2525
2626 pytest :
3838 - name : " Main Script"
3939 run : |
4040 EXTRA_INSTALL="numpy scipy"
41- curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/build-and-test-py-project.sh
41+ curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/build-and-test-py-project.sh
4242 . ./build-and-test-py-project.sh
4343
4444 mypy :
5252 python-version : ' 3.x'
5353 - name : " Main Script"
5454 run : |
55- curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/prepare-and-run-mypy.sh
55+ curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/prepare-and-run-mypy.sh
5656 . ./prepare-and-run-mypy.sh python3 mypy
5757
5858 docs :
6868 run : |
6969 EXTRA_INSTALL="numpy scipy"
7070
71- curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/ci-support.sh
71+ curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/ci-support.sh
7272 . ci-support.sh
7373 build_py_project_in_venv
7474 build_docs
8585 - name : " Main Script"
8686 run : |
8787 EXTRA_INSTALL="numpy pymbolic"
88- curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/ci-support.sh
88+ curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/ci-support.sh
8989 . ./ci-support.sh
9090 build_py_project_in_venv
9191 rm -f examples/plot*.py
@@ -103,11 +103,14 @@ jobs:
103103 env :
104104 DOWNSTREAM_PROJECT : ${{ matrix.downstream_project }}
105105 run : |
106+ curl -L -O https://tiker.net/ci-support-v0
107+ . ./ci-support-v0
108+
106109 git clone "https://github.com/inducer/$DOWNSTREAM_PROJECT.git"
107110 cd "$DOWNSTREAM_PROJECT"
108111 echo "*** $DOWNSTREAM_PROJECT version: $(git rev-parse --short HEAD)"
109112
110- sed -i "/egg=modepy/ c git+file://$(readlink -f ..)#egg=modepy" requirements.txt
113+ edit_requirements_txt_for_downstream_in_subdir
111114
112115 export CONDA_ENVIRONMENT=.test-conda-env-py3.yml
113116
@@ -116,8 +119,6 @@ jobs:
116119
117120 sed -i "/mpi4py/ d" requirements.txt
118121
119- curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/main/ci-support.sh
120- . ./ci-support.sh
121122 build_py_project_in_conda_env
122123 test_py_project
123124
0 commit comments