Comments (7)
No idea, seems unrelated to this action, maybe you should check with https://github.com/reactivecircus/android-emulator-runner.
from publish-unit-test-result-action.
Invoking the publish action twice requires individual check_name
values, e.g.
- the
build
job should usecheck_name: 'Test Results (build)'
- the
android_tests
job should usecheck_name: 'Test Results (instrumentation)'
Regarding the missing test results: your File listing
step shows there are no TEST*.xml
files in path .
:
find . -name "TEST*.xml"
echo "All files:"
find .
There are no files listed before All files
:
All files:
.
Further, there is no test-results
directory in .
, so test-results/**/*.xml
cannot find anything.
from publish-unit-test-result-action.
I added the check_name
option now, see runs/7769998601.
Further, there is no
test-results
directory in.
, sotest-results/**/*.xml
cannot find anything.
Do you know why the xml files are missing and how I can fix it?
When I run the tests locally on an emulator then the following files are generated:
└── outputs
└── androidTest-results
└── connected
├── TEST-Pixel_7_API_33(AVD) - 13-_database-.xml
└── test-result.pb
from publish-unit-test-result-action.
OK. I just confirmed that instrumentation tests are skipped: runs/7773288979/job/21196786085 :(
If you see no errors in the configuration for this action then you can close this issue. Thank you.
from publish-unit-test-result-action.
I fixed running the instrumentation tests now (I had to scope the Gradle task to the module) ...
script: ./gradlew :database:connectedAndroidTest
... and I can see an xml file being generated. See runs/7773831930.
./database/build/outputs/androidTest-results/connected/TEST-test(AVD) - 10-_database-.xml
It isn't picked up by the results action, though.
Warning: Could not find any files for androidTest-results/**/*.xml, */androidTest-results/**/*.xml
from publish-unit-test-result-action.
Because androidTest-results/**/*.xml
and */androidTest-results/**/*.xml
cannot match ./database/build/outputs/androidTest-results/connected/TEST-test(AVD) - 10-_database-.xml
.
Try **/androidTest-results/**/*.xml
instead.
from publish-unit-test-result-action.
Awesome. It works now.
Thank you!
from publish-unit-test-result-action.
Related Issues (20)
- Remove symbols links HOT 2
- Support Maven Surefire Plugin rerunning flaky tests HOT 7
- Add support for TRX StdOut-Element HOT 3
- Option "check_run" not recognized HOT 3
- Unhandled error that crashes GitHub Actions - .NET with coverlet.cobertura HOT 11
- Publishing json file doesn't work if check_run is set to false HOT 2
- bug: action fails to setup due to `--user` in embedded python for windows HOT 5
- `-m: command not found` during `Install Python dependencies` HOT 9
- Windows requirements.txt fail HOT 2
- ERROR: Could not open requirements file: [Errno 2] No such file or directory: '.GITHUB_ACTION_PATH\\..\\python\\requirements.txt' HOT 4
- Add support for python 3.12 HOT 4
- 2.16.0 syntax error HOT 6
- Support per file `test_file_prefix` HOT 1
- Spectral junit report has wrong paths to OpenAPI spec file HOT 3
- Annotations are reported at line 0 and therefore are not display correctly. HOT 3
- Support for forked repositories is compliacted and does not work for me HOT 4
- Is there any possibility of displaying all the test cases with names in Github actions summary
- Windows PowerShelll action fails with "invalid syntax" HOT 2
- Help supporting flaky tests using Gradle
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from publish-unit-test-result-action.