File tree Expand file tree Collapse file tree 1 file changed +38
-5
lines changed Expand file tree Collapse file tree 1 file changed +38
-5
lines changed Original file line number Diff line number Diff line change 1010 GO_VERSION : " 1.25.1"
1111
1212jobs :
13- go-test :
13+ go-test-orchestrator :
1414 runs-on : ubuntu-latest
1515 steps :
16+ - name : install dependencies
17+ run : |
18+ sudo apt-get update
19+ sudo apt-get install -y android-tools-adb
20+
21+ - name : Checkout code
22+ uses : actions/checkout@v3
23+
24+ - name : Install Task
25+ uses : arduino/setup-task@v2
26+ with :
27+ version : 3.x
28+ repo-token : ${{ secrets.GITHUB_TOKEN }}
29+
30+ - name : Set up Go
31+ uses : actions/setup-go@v5
32+ with :
33+ go-version : ${{ env.GO_VERSION }}
34+
35+ - name : Run `orchestrator` tests
36+ run : task test:orchestrator
37+
38+ go-test-pkg :
39+ runs-on : ${{ matrix.os }}
40+ strategy :
41+ matrix :
42+ os : [ubuntu-latest, windows-latest]
43+
44+ steps :
45+ - name : install dependencies [Linux]
46+ if : runner.os == 'Linux'
47+ run : |
48+ sudo apt-get update
49+ sudo apt-get install -y android-tools-adb
50+
1651 - name : Checkout code
1752 uses : actions/checkout@v3
1853
2762 with :
2863 go-version : ${{ env.GO_VERSION }}
2964
30- - name : Run tests
31- run : task test
32- env :
33- GH_TOKEN : ${{ secrets.ARDUINOBOT_TOKEN }}
65+ - name : Run `pkg` tests
66+ run : task test:pkg
You can’t perform that action at this time.
0 commit comments