From 63ec4f8e1ecc80780d11ce308c83ece9bae98ab7 Mon Sep 17 00:00:00 2001 From: Kaushik Kulkarni <kaushikcfd@gmail.com> Date: Sun, 13 Jun 2021 13:10:27 -0500 Subject: [PATCH] fixup! fixup! remove dependency on pytato --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db88b85..e6111df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -122,7 +122,12 @@ jobs: # downstream projects might not be using PytatoArrayContext, force # pytato as a requirement so that using PytatoArrayContext in the # downstream package's tests doesn't result in a failure. - echo "git+https://github.com/inducer/pytato.git#egg=pytato" >> requirements.txt + if grep -q "pytato" requirements.txt + then + echo "$DOWNSTREAM_PROJECT already has pytato as a requiement"; + else + echo "git+https://github.com/inducer/pytato.git#egg=pytato" >> requirements.txt + fi # Avoid slow or complicated tests in downstream projects export PYTEST_ADDOPTS="-k 'not (slowtest or octave or mpi)'" -- GitLab