Skip to content

Commit de3b9d1

Browse files
committed
Add test workflow for AccUnit v0.10.0 from release with JUnit report
1 parent e5b22f8 commit de3b9d1

1 file changed

Lines changed: 45 additions & 0 deletions

File tree

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Test AccUnit v0.10.0 (install from release, JUnit XML, test report)
2+
3+
on:
4+
push:
5+
branches:
6+
- test/accunit-v0.10.0
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
checks: write
12+
13+
jobs:
14+
build:
15+
runs-on: [self-hosted, Windows, Office]
16+
17+
steps:
18+
- name: "Checkout"
19+
uses: actions/checkout@v7
20+
21+
- name: "Build DeclDictTester, AccUnit v0.10.0 from release, JUnit XML"
22+
uses: AccessCodeLib/msaccess-vcs-build@main
23+
with:
24+
source-dir: "DeclDictTester.accdb.src"
25+
target-dir: "bin"
26+
file-name: "DeclDictTester.accdb"
27+
run-accunit-tests: true
28+
accunit-junit-xml: "bin/accunit-results.xml"
29+
accunit-url: "https://api.github.com/repos/AccessCodeLib/AccUnit/releases/tags/v0.10.0"
30+
timeout-minutes: 10
31+
32+
- name: "Publish test report"
33+
if: always()
34+
uses: mikepenz/action-junit-report@v6
35+
with:
36+
report_paths: "bin/accunit-results.xml"
37+
fail_on_failure: true
38+
39+
- name: "Upload results"
40+
if: always()
41+
uses: actions/upload-artifact@v7
42+
with:
43+
name: "Test results"
44+
path: "./bin/*"
45+
if-no-files-found: warn

0 commit comments

Comments
 (0)