File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Unit-tests on MacOS CPU
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - nightly
8
+ - main
9
+ - release/*
10
+ workflow_dispatch :
11
+
12
+ env :
13
+ CHANNEL : " nightly"
14
+
15
+ jobs :
16
+ tests :
17
+ strategy :
18
+ matrix :
19
+ python_version : ["3.8", "3.9", "3.10"]
20
+ fail-fast : false
21
+ uses : pytorch/test-infra/.github/workflows/macos_job.yml@main
22
+ with :
23
+ repository : pytorch/rl
24
+ timeout : 120
25
+ script : |
26
+ # Set env vars from matrix
27
+ export PYTHON_VERSION=${{ matrix.python_version }}
28
+ export CU_VERSION="cpu"
29
+
30
+ echo "PYTHON_VERSION: $PYTHON_VERSION"
31
+ echo "CU_VERSION: $CU_VERSION"
32
+
33
+ ## setup_env.sh
34
+ ./.circleci/unittest/linux/scripts/setup_env.sh
35
+
36
+ ## install.sh
37
+ ./.circleci/unittest/linux/scripts/install.sh
38
+
39
+ ## run_test.sh
40
+ ./.circleci/unittest/linux/scripts/run_test.sh
41
+
42
+ ## post_process.sh
43
+ ./.circleci/unittest/linux/scripts/post_process.sh
You can’t perform that action at this time.
0 commit comments