42
42
run : |
43
43
set +e
44
44
set +o pipefail
45
-
45
+
46
46
UPSTREAM_BRANCH=$( \
47
47
echo "$PR_BODY" | \
48
48
head -2 | \
@@ -52,12 +52,12 @@ jobs:
52
52
)
53
53
echo "Got upstream branch:"
54
54
echo $UPSTREAM_BRANCH
55
-
55
+
56
56
if [[ -z "$UPSTREAM_BRANCH" ]]; then
57
57
echo "Using main as default"
58
58
UPSTREAM_BRANCH="main"
59
59
fi
60
-
60
+
61
61
UPSTREAM_REPO=$( \
62
62
echo "$PR_BODY" | \
63
63
head -2 | \
67
67
)
68
68
echo "Got upstream repo:"
69
69
echo $UPSTREAM_REPO
70
-
70
+
71
71
if [[ -z "$UPSTREAM_REPO" ]]; then
72
72
echo "Using linkml/linkml as default"
73
73
UPSTREAM_REPO="linkml/linkml"
@@ -128,11 +128,6 @@ jobs:
128
128
path : linkml/.venv
129
129
key : venv-${{ matrix.python-version }}-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
130
130
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
-
136
131
# we are not using linkml-runtime's lockfile, but simulating what will happen
137
132
# when we merge this and update linkml's lockfile
138
133
- name : add linkml-runtime to lockfile
@@ -145,7 +140,7 @@ jobs:
145
140
# the cache will still speedup the rest of the installation
146
141
- name : install linkml
147
142
working-directory : linkml
148
- run : poetry install --no-interaction -E tests
143
+ run : poetry sync --no-interaction --all-extras
149
144
150
145
- name : print linkml-runtime version
151
146
working-directory : linkml
0 commit comments