Skip to content
Snippets Groups Projects
Commit 7b3e8e82 authored by Andreas Klöckner's avatar Andreas Klöckner Committed by Andreas Klöckner
Browse files

Fix downstream CI: actually rewrite requirements.txt

parent ed3f3885
No related branches found
No related tags found
No related merge requests found
Pipeline #202572 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment