Skip to content

Commit

Permalink
ci-build: Always run integration tests, regardless of whether they ar…
Browse files Browse the repository at this point in the history
…e run from a fork.

Reverts #180

PiperOrigin-RevId: 721384596
  • Loading branch information
naschmitz authored and Xee authors committed Jan 30, 2025
1 parent ae3cc19 commit 548adc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ on:

jobs:
build:
if: github.event.pull_request.head.repo.full_name == github.repository
name: "python ${{ matrix.python-version }} tests"
runs-on: ubuntu-latest
strategy:
Expand Down
4 changes: 3 additions & 1 deletion xee/ext_integration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ def init_ee_for_tests():
'opt_url': ee.data.HIGH_VOLUME_API_BASE_URL,
}
if not os.environ.get(_USE_ADC_CREDENTIALS_KEY, False):
init_params['credentials'] = _read_identity_pool_creds()
credentials = _read_identity_pool_creds()
init_params['credentials'] = credentials
init_params['project'] = credentials.project_number
ee.Initialize(**init_params)


Expand Down

0 comments on commit 548adc8

Please sign in to comment.