4242 run : |
4343 set +e
4444 set +o pipefail
45-
45+
4646 UPSTREAM_BRANCH=$( \
4747 echo "$PR_BODY" | \
4848 head -2 | \
@@ -52,12 +52,12 @@ jobs:
5252 )
5353 echo "Got upstream branch:"
5454 echo $UPSTREAM_BRANCH
55-
55+
5656 if [[ -z "$UPSTREAM_BRANCH" ]]; then
5757 echo "Using main as default"
5858 UPSTREAM_BRANCH="main"
5959 fi
60-
60+
6161 UPSTREAM_REPO=$( \
6262 echo "$PR_BODY" | \
6363 head -2 | \
6767 )
6868 echo "Got upstream repo:"
6969 echo $UPSTREAM_REPO
70-
70+
7171 if [[ -z "$UPSTREAM_REPO" ]]; then
7272 echo "Using linkml/linkml as default"
7373 UPSTREAM_REPO="linkml/linkml"
@@ -128,11 +128,6 @@ jobs:
128128 path : linkml/.venv
129129 key : venv-${{ matrix.python-version }}-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
130130
131- # make extra sure we're removing any old version of linkml-runtime that exists
132- - name : uninstall potentially cached linkml-runtime
133- working-directory : linkml
134- run : poetry run pip uninstall -y linkml-runtime
135-
136131 # we are not using linkml-runtime's lockfile, but simulating what will happen
137132 # when we merge this and update linkml's lockfile
138133 - name : add linkml-runtime to lockfile
@@ -145,7 +140,7 @@ jobs:
145140 # the cache will still speedup the rest of the installation
146141 - name : install linkml
147142 working-directory : linkml
148- run : poetry install --no-interaction -E tests
143+ run : poetry sync --no-interaction --all-extras
149144
150145 - name : print linkml-runtime version
151146 working-directory : linkml
0 commit comments