forked from googleapis/python-spanner-django
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/asthamohta/python-spanner-d…
…jango into HEAD
- Loading branch information
Showing
19 changed files
with
453 additions
and
297 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
name: foreign-keys-test | ||
jobs: | ||
system-tests: | ||
runs-on: ubuntu-latest | ||
|
||
services: | ||
emulator-0: | ||
image: gcr.io/cloud-spanner-emulator/emulator:latest | ||
ports: | ||
- 9010:9010 | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.8 | ||
- name: Run Django foreign key test | ||
run: sh foreign_key_test.sh | ||
env: | ||
SPANNER_EMULATOR_HOST: localhost:9010 | ||
GOOGLE_CLOUD_PROJECT: emulator-test-project | ||
GOOGLE_CLOUD_TESTS_CREATE_SPANNER_INSTANCE: true | ||
SPANNER_TEST_INSTANCE: google-cloud-django-backend-tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
.github/workflows/integration-tests-against-emulator-3.8.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
name: Run Django Spanner integration tests against emulator 3.8 | ||
jobs: | ||
system-tests: | ||
runs-on: ubuntu-latest | ||
|
||
services: | ||
emulator: | ||
image: gcr.io/cloud-spanner-emulator/emulator:latest | ||
ports: | ||
- 9010:9010 | ||
- 9020:9020 | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.8 | ||
- name: Install nox | ||
run: python -m pip install nox | ||
with: | ||
python-version: 3.8 | ||
- name: Run nox | ||
run: nox -s unit-3.8 | ||
env: | ||
SPANNER_EMULATOR_HOST: localhost:9010 | ||
GOOGLE_CLOUD_PROJECT: emulator-test-project | ||
GOOGLE_CLOUD_TESTS_CREATE_SPANNER_INSTANCE: true |
34 changes: 34 additions & 0 deletions
34
.github/workflows/integration-tests-against-emulator-3.9.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
name: Run Django Spanner integration tests against emulator 3.9 | ||
jobs: | ||
system-tests: | ||
runs-on: ubuntu-latest | ||
|
||
services: | ||
emulator: | ||
image: gcr.io/cloud-spanner-emulator/emulator:latest | ||
ports: | ||
- 9010:9010 | ||
- 9020:9020 | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.9 | ||
- name: Install nox | ||
run: python -m pip install nox | ||
with: | ||
python-version: 3.9 | ||
- name: Run nox | ||
run: nox -s unit-3.9 | ||
env: | ||
SPANNER_EMULATOR_HOST: localhost:9010 | ||
GOOGLE_CLOUD_PROJECT: emulator-test-project | ||
GOOGLE_CLOUD_TESTS_CREATE_SPANNER_INSTANCE: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
gcp-docuploader | ||
gcp-releasetool | ||
gcp-releasetool>=1.10.5 # required for compatibility with cryptography>=39.x | ||
importlib-metadata | ||
typing-extensions | ||
twine | ||
wheel | ||
setuptools | ||
nox | ||
nox>=2022.11.21 # required to remove dependency on py | ||
charset-normalizer<3 | ||
click<8.1.0 |
Oops, something went wrong.