Skip to content

Commit e563778

Browse files
committed
create functional test, integrate into workflow
1 parent 563ab1d commit e563778

File tree

2 files changed

+633
-0
lines changed

2 files changed

+633
-0
lines changed

.github/workflows/openwrt-release.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,26 @@ on:
66
push:
77
branches:
88
- main
9+
pull_request:
910
workflow_dispatch:
1011

1112
jobs:
13+
test:
14+
name: Functional tests
15+
runs-on: ubuntu-latest
16+
17+
steps:
18+
- name: Checkout repo
19+
uses: actions/checkout@v4
20+
21+
- name: Run functional tests
22+
run: bash tests/run_tests.sh
23+
1224
build:
1325
name: Build for ${{ matrix.version }} / ${{ matrix.target }}
26+
needs: test
1427
runs-on: ubuntu-latest
28+
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
1529
env:
1630
REPO_APK_KEY: ${{ secrets.REPO_APK_KEY }}
1731

0 commit comments

Comments
 (0)