Skip to content

Commit 95ed0f0

Browse files
committed
set default parameters for multigpu test
1 parent 2596397 commit 95ed0f0

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/CI.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: CI
33
on:
44
push:
55
branches:
6-
- master
6+
- cyfan
77
pull_request:
88
branches:
9-
- master
9+
- cyfan
1010

1111
permissions:
1212
contents: write
@@ -43,8 +43,12 @@ jobs:
4343
4444
- name: Run tests
4545
run: |
46+
export RANK=0
47+
export WORLD_SIZE=1
48+
export MASTER_ADDR=localhost
49+
export MASTER_PORT=12345
4650
export PYTHONPATH=MCintegration
47-
pytest --cov --cov-report=xml --ignore=examples
51+
pytest --cov --cov-report=xml
4852
4953
- name: Upload coverage to Codecov
5054
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)