Skip to content

Commit

Permalink
Merge branch 'timeout-for-gpu-ci' into gpu_ci_with_conda
Browse files Browse the repository at this point in the history
  • Loading branch information
ivirshup committed Feb 7, 2024
2 parents bf92943 + f965aca commit 1b3d712
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/test-gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,14 @@ jobs:
name: GPU Tests
needs: check
runs-on: "cirun-aws-gpu--${{ github.run_id }}"
# Setting a timeout of 30 minutes, as the AWS costs money
# At time of writing, a typical run takes about 5 minutes
timeout-minutes: 30

defaults:
run:
shell: bash -el {0}

steps:
- uses: actions/checkout@v3
with:
Expand All @@ -57,8 +62,10 @@ jobs:
- name: Install AnnData
run: pip install .[dev,test,gpu]

- name: Mamba list
run: micromamba list
- name: Env list
run: |
micromamba list
pip list
- name: Run test
run: pytest -m gpu --cov --cov-report=xml --cov-context=test -n 4
Expand Down

0 comments on commit 1b3d712

Please sign in to comment.