Repository navigation
msaccess-vcs-build: How would you like to run msaccess-vcs tests in your CI build? #825
josef-poetzl
started this conversation in
Ideas
Replies: 1 comment
|
Hi Joseph, Some thoughts from my side:
Cheers |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone,
I maintain msaccess-vcs-build. It is a GitHub Action (and a set of PowerShell scripts) that builds an Access application from msaccess-vcs source files on a self-hosted runner, using the
BuildHeadlessAPI.I'm adding an option that runs the msaccess-vcs tests (
RunTestsHeadless) as part of the build. A first version is ready on this feature branch:👉 https://github.com/AccessCodeLib/msaccess-vcs-build/tree/feature/run-vcs-tests
What it currently does
run-vcs-tests: trueturns the test run on (defaultfalse).vcs-test-filtersets a test filter, e.g.-slow(empty = all tests).modTestAssert) and export files don't end up in the build output.test-results.xml) and the test log are copied totarget-dir, also when tests fail. You can publish them as artifacts or feed them into a test reporter.run-accunit-testsoption.Example:
Before I merge this, I'd like your input on how the test run should be called
Is testing a copy of the .accdb after the build enough? Or should tests also (or instead) run on the final file after the app config is applied, e.g. the .accde?
Is a single filter string enough? Would other options help, such as:
continue-on-error-style),Right now you get the JUnit XML and the log in
target-dir. Would action outputs with the file paths help? Or a short summary in the GitHub job summary ($GITHUB_STEP_SUMMARY)?If you already run msaccess-vcs tests in CI, or plan to, I'd like to hear how you'd want to call them. Other workflows and setups are welcome too.
Feel free to try the branch and share your feedback, either here or in the related issue in the msaccess-vcs-build repository:
👉 AccessCodeLib/msaccess-vcs-build#11
Thanks!
All reactions