Skip to content

Commit d493461

Browse files
committed
create functional tests, integrate into workflow
1 parent ca9f24a commit d493461

6 files changed

Lines changed: 515 additions & 2 deletions

File tree

.github/workflows/openwrt-release.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,31 @@ 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: Set up Node.js
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: '20'
25+
26+
- name: Run functional tests
27+
run: bash tests/run_tests.sh
28+
1229
build:
1330
name: Build for ${{ matrix.version }} / ${{ matrix.target }}
31+
needs: test
1432
runs-on: ubuntu-latest
33+
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
1534
env:
1635
REPO_APK_KEY: ${{ secrets.REPO_APK_KEY }}
1736

po/templates/https-dns-proxy.pot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ msgid "ns1: Germany - Baden-Baden"
809809
msgstr ""
810810

811811
#: applications/luci-app-https-dns-proxy/root/usr/share/https-dns-proxy/providers/org.opennameserver.json:18
812-
msgid "ns2: Germany - D�seldorf"
812+
msgid "ns2: Germany - Düsseldorf"
813813
msgstr ""
814814

815815
#: applications/luci-app-https-dns-proxy/root/usr/share/https-dns-proxy/providers/org.opennameserver.json:22

root/usr/share/https-dns-proxy/providers/org.opennameserver.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
{
1717
"value": "ns2",
18-
"description": "ns2: Germany - Düsseldorf"
18+
"description": "ns2: Germany - Düsseldorf"
1919
},
2020
{
2121
"value": "ns3",

0 commit comments

Comments
 (0)