Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edgedb-python 2.0.1 #511

Merged
merged 2 commits into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/install-edgedb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ else
adduser -s /bin/bash -D edgedb
fi

su -l edgedb -c "edgedb server install"
su -l edgedb -c "edgedb server install --version ${EDGEDB_SERVER_VERSION}"
ln -s $(su -l edgedb -c "edgedb server info --latest --bin-path") \
"/usr/bin/edgedb-server"

Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ jobs:

env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
EDGEDB_SERVER_VERSION: 5

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -140,17 +141,17 @@ jobs:
env:
CIBW_BUILD_VERBOSITY: 1
CIBW_BEFORE_ALL_LINUX: >
.github/workflows/install-edgedb.sh
EDGEDB_SERVER_VERSION=${{ env.EDGEDB_SERVER_VERSION }} .github/workflows/install-edgedb.sh
CIBW_TEST_EXTRAS: "test"
CIBW_TEST_COMMAND: >
python {project}/tests/__init__.py
EDGEDB_TEST_CODEGEN_ASSERT_SUFFIX=.assert${{ env.EDGEDB_SERVER_VERSION }} python {project}/tests/__init__.py
CIBW_TEST_COMMAND_WINDOWS: >
python {project}\tests\__init__.py
set EDGEDB_TEST_CODEGEN_ASSERT_SUFFIX=.assert${{ env.EDGEDB_SERVER_VERSION }} && python {project}\tests\__init__.py
CIBW_TEST_COMMAND_LINUX: >
PY=`which python`
&& CODEGEN=`which edgedb-py`
&& chmod -R go+rX "$(dirname $(dirname $(dirname $PY)))"
&& su -l edgedb -c "EDGEDB_PYTHON_TEST_CODEGEN_CMD=$CODEGEN $PY {project}/tests/__init__.py"
&& su -l edgedb -c "EDGEDB_PYTHON_TEST_CODEGEN_CMD=$CODEGEN EDGEDB_TEST_CODEGEN_ASSERT_SUFFIX=.assert${{ env.EDGEDB_SERVER_VERSION }} $PY {project}/tests/__init__.py"

- uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion edgedb/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
# supported platforms, publish the packages on PyPI, merge the PR
# to the target branch, create a Git tag pointing to the commit.

__version__ = '2.0.0'
__version__ = '2.0.1'
Loading