Skip to content

Commit

Permalink
break up tests more
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh committed Apr 2, 2024
1 parent 1377540 commit 34a7fbd
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ env:
jobs:
checks:
name: ${{ matrix.task.name }}
runs-on: [macos-13] # TODO: change to ubuntu-latest once repo is public (will have more RAM then)
# TODO: change to 'ubuntu-latest' once repo is public (will have more RAM then), and update the torch
# install command in the setup-venv action.
runs-on: [macos-13]
timeout-minutes: 5
strategy:
fail-fast: false
Expand All @@ -34,9 +36,15 @@ jobs:
- name: Lint
run: make lint-check

- name: Test core
- name: Test
run: |
pytest -v --color=yes --durations=3 src/test/ --ignore-glob='src/test/distributed/fsdp/*'
pytest -v --color=yes --durations=3 src/test/ \
--ignore-glob='src/test/distributed/fsdp/*' \
--ignore-glob='src/test/distributed/sharded_flat_*'
- name: Test tensors
run: |
pytest -v --color=yes --durations=3 src/test/distributed/sharded_flat_*
- name: Test FSDP
run: |
Expand Down

0 comments on commit 34a7fbd

Please sign in to comment.