From 7b3e8e8287be072954a8b6b9bfa1a135a29c143b Mon Sep 17 00:00:00 2001 From: "[6~" Date: Thu, 26 Aug 2021 16:46:36 -0500 Subject: [PATCH] Fix downstream CI: actually rewrite requirements.txt --- .github/workflows/ci.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 913c033..7840825 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -108,6 +108,9 @@ jobs: env: DOWNSTREAM_PROJECT: ${{ matrix.downstream_project }} run: | + curl -L -O https://tiker.net/ci-support-v0 + . ./ci-support-v0 + if test "$DOWNSTREAM_PROJECT" = "mirgecom"; then git clone "https://github.com/illinois-ceesd/$DOWNSTREAM_PROJECT.git" else @@ -117,6 +120,9 @@ jobs: cd "$DOWNSTREAM_PROJECT" echo "*** $DOWNSTREAM_PROJECT version: $(git rev-parse --short HEAD)" + transfer_requirements_git_urls ../requirements.txt ./requirements.txt + sed -i "/egg=pytato/ c git+file://$(readlink -f ..)#egg=pytato" requirements.txt + # Avoid slow or complicated tests in downstream projects export PYTEST_ADDOPTS="-k 'not (slowtest or octave or mpi)'" @@ -130,11 +136,9 @@ jobs: sed -i "/mpi4py/ d" requirements.txt fi - curl -L -O https://tiker.net/ci-support-v0 - . ./ci-support-v0 build_py_project_in_conda_env test_py_project - + if [[ "$DOWNSTREAM_PROJECT" = "meshmode" ]]; then python ../examples/simple-dg.py --lazy fi -- GitLab