File tree Expand file tree Collapse file tree 2 files changed +33
-3
lines changed Expand file tree Collapse file tree 2 files changed +33
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Run Test on Demand
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ build_and_test :
8+ runs-on : ubuntu-24.04
9+ steps :
10+ - name : Checkout the repo
11+ uses : actions/checkout@v4
12+
13+ - name : Set up Docker Buildx
14+ uses : docker/setup-buildx-action@v3
15+
16+ - name : Set up extension
17+ run : |
18+ echo "${{ secrets.extension }}" > extension.sh
19+ chmod 700 extension.sh
20+ shell : bash
21+
22+ - name : Build base image
23+ run : script -e -c "./app.sh build base test"
24+
25+ - name : Build sample image
26+ run : script -e -c "./app.sh build emulator test 11.0"
27+
28+ - name : Run unit-test
29+ run : script -e -c "./app.sh test emulator test 11.0 && sudo mv tmp/* ."
30+
31+ - name : Publish test result
32+ run : bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - master
7- pull_request :
8- branches :
9- - master
107
118jobs :
129 build_and_test :
1310 runs-on : ubuntu-24.04
11+ if : github.event_name == 'push' && github.ref == 'refs/heads/master' && github.actor == 'budtmo'
1412 steps :
1513 - name : Checkout the repo
1614 uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments