Skip to content

Commit bec88ad

Browse files
committed
fix and tweak
1 parent 05acfd4 commit bec88ad

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ jobs:
103103
strategy:
104104
fail-fast: false
105105
matrix:
106+
edgedb-server-version: 6
106107
include: ${{ fromJson(needs.build-wheels-matrix.outputs.include) }}
107108

108109
defaults:
@@ -111,7 +112,6 @@ jobs:
111112

112113
env:
113114
PIP_DISABLE_PIP_VERSION_CHECK: 1
114-
EDGEDB_SERVER_VERSION: 6
115115

116116
steps:
117117
- uses: actions/checkout@v3
@@ -137,15 +137,15 @@ jobs:
137137
if: runner.os != 'Linux'
138138
uses: edgedb/setup-edgedb@v1
139139
with:
140-
server-version: ${{ env.EDGEDB_SERVER_VERSION }}
140+
server-version: ${{ matrix.edgedb-server-version }}
141141

142142
- uses: pypa/[email protected]
143143
with:
144144
only: ${{ matrix.only }}
145145
env:
146146
CIBW_BUILD_VERBOSITY: 1
147147
CIBW_BEFORE_ALL_LINUX: >
148-
EDGEDB_SERVER_VERSION=${{ env.EDGEDB_SERVER_VERSION }} .github/workflows/install-edgedb.sh
148+
EDGEDB_SERVER_VERSION=${{ matrix.edgedb-server-version }} .github/workflows/install-edgedb.sh
149149
CIBW_TEST_EXTRAS: "test"
150150
CIBW_TEST_COMMAND: >
151151
python {project}/tests/__init__.py
@@ -155,7 +155,7 @@ jobs:
155155
PY=`which python`
156156
&& CODEGEN=`which gel-py`
157157
&& chmod -R go+rX "$(dirname $(dirname $(dirname $PY)))"
158-
&& su -l edgedb -c "$PY {project}/tests/__init__.py"
158+
&& su -l edgedb -c "EDGEDB_PYTHON_TEST_CODEGEN_CMD=$CODEGEN $PY {project}/tests/__init__.py"
159159
160160
- uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
161161
with:

0 commit comments

Comments
 (0)