Skip to content

Commit 548adc8

Browse files
naschmitzXee authors
authored andcommitted
ci-build: Always run integration tests, regardless of whether they are run from a fork.
Reverts #180 PiperOrigin-RevId: 721384596
1 parent ae3cc19 commit 548adc8

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci-build.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ on:
2525

2626
jobs:
2727
build:
28-
if: github.event.pull_request.head.repo.full_name == github.repository
2928
name: "python ${{ matrix.python-version }} tests"
3029
runs-on: ubuntu-latest
3130
strategy:

xee/ext_integration_test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ def init_ee_for_tests():
5555
'opt_url': ee.data.HIGH_VOLUME_API_BASE_URL,
5656
}
5757
if not os.environ.get(_USE_ADC_CREDENTIALS_KEY, False):
58-
init_params['credentials'] = _read_identity_pool_creds()
58+
credentials = _read_identity_pool_creds()
59+
init_params['credentials'] = credentials
60+
init_params['project'] = credentials.project_number
5961
ee.Initialize(**init_params)
6062

6163

0 commit comments

Comments
 (0)