Skip to content

Commit

Permalink
set default parameters for multigpu test
Browse files Browse the repository at this point in the history
  • Loading branch information
fancaiyu committed Dec 31, 2024
1 parent 2596397 commit 95ed0f0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: CI
on:
push:
branches:
- master
- cyfan
pull_request:
branches:
- master
- cyfan

permissions:
contents: write
Expand Down Expand Up @@ -43,8 +43,12 @@ jobs:
- name: Run tests
run: |
export RANK=0
export WORLD_SIZE=1
export MASTER_ADDR=localhost
export MASTER_PORT=12345
export PYTHONPATH=MCintegration
pytest --cov --cov-report=xml --ignore=examples
pytest --cov --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
Expand Down

0 comments on commit 95ed0f0

Please sign in to comment.