diff --git a/.github/workflows/gce_test.yaml b/.github/workflows/gce_test.yaml index 11866e2..697e1a6 100644 --- a/.github/workflows/gce_test.yaml +++ b/.github/workflows/gce_test.yaml @@ -34,15 +34,16 @@ jobs: as_ascii="$(echo "${{ github.ref_name }}" | perl -pe "s/[^A-z0-9-]+/-/g; s/^-+|-+\$//g; s/--+/-/g;")" echo "as-ascii=$as_ascii" >> $GITHUB_OUTPUT + - name: install dependencies + run: | + python3 -m pip install -U pip + python3 -m pip install pre-commit tox globus-compute-endpoint + - name: start globus_compute_endpoint env: GLOBUS_COMPUTE_CLIENT_ID: ${{ secrets.GLOBUS_COMPUTE_CLIENT_ID }} GLOBUS_COMPUTE_CLIENT_SECRET: ${{ secrets.GLOBUS_COMPUTE_SECRET_KEY }} run: | - python3 -m venv compute_env - source compute_env/bin/activate - pip install globus-compute-endpoint - globus-compute-endpoint configure default which globus-compute-endpoint python3 -c "import globus_compute_sdk; print(globus_compute_sdk.__version__)" @@ -77,5 +78,4 @@ jobs: GLOBUS_COMPUTE_CLIENT_ID: ${{ secrets.GLOBUS_COMPUTE_CLIENT_ID }} GLOBUS_COMPUTE_CLIENT_SECRET: ${{ secrets.GLOBUS_COMPUTE_SECRET_KEY }} run: | - source compute_venv/bin/activate globus-compute-endpoint stop default