Comments (6)
Sounds good. Thanks!
I will create a separate repo that pulls everything in with the correct directory structure and see what happens.
from unity-test-runner.
Hi @jsm174 and thank you for posting about your issue with Test-runner.
So you are getting the artifact as you expected, it's just that in your workflow it doesn't upload it because the upload job never runs:
See Github Actions docs for conditional job to solve your issue.
from unity-test-runner.
Thank you. I apologize. I didn't really think about that since I was just following the example.
I did add an if
condition, but it's still failing. I'll need to research it some more.
- uses: actions/upload-artifact@v1
if: ${{ always() }}
with:
name: Test results for ${{ matrix.testMode }}
path: ${{ steps.tests.outputs.artifactsPath }}
from unity-test-runner.
After you added the if condition, the upload job started triggering when the test job failed, as expected.
Currently you need to correctly configure path
There is a working example of this in the readme and in the workflow of this repository.
from unity-test-runner.
I did follow all your documentation.
So just to make sure I'm not crazy, I just made the file match up exactly with the one from your repo:
Same error
https://github.com/jsm174/vpe_net_standard/runs/814289122?check_suite_focus=true
from unity-test-runner.
Great! Then you should be close to getting it working, as the docs seem to work for many people. See also the recommendations in the other ticket to get the package to work.
I just made the file match up exactly with the one from your repo:
With the two major differences that your project path is both nested and considered hidden within Unity.
As discussed here in your other issue, using temporary or hidden folders as your project folder is not supported in Unity itself, so it will also be impossible to support it in this project.
The workflow from this repository also does not take those two things into account, so naturally it wouldn't work out of the box.
I will close this issue as both your questions have been answered, but please feel free to create a new ticket if you find that there is indeed something broken in Test runner.
from unity-test-runner.
Related Issues (20)
- Action freezes when Unity Test Framework is not imported to project
- Check Run Appears Under Wrong Workflow Run When Test Runner is Run Twice on the Same Commit
- Package Testing Hangs if Package Being Tested is the Root Directory of the Repository HOT 2
- Feature: Support Windows Runners for Package Testing
- Feature: Support Package Testing for Packages with Dependencies Outside of the Unity Registry HOT 1
- Feature: Add Caching for Package Testing
- Feature: Allow `unityVersion` of `auto` for Package Testing
- Code Coverage does not write any output anywhere HOT 2
- Unity no longer supports manual activation of Personal licenses HOT 2
- Create breaking change that updates rolling version number from 1 to 2
- Inconsistent licence activation HOT 7
- Reasource not Available by Integration HOT 5
- 'Unclassified error occured while trying to activate license.' HOT 9
- cannot access '/github/workspace/CodeCoverage': No such file or directory HOT 5
- v4.1.0 causing activation to fail when using manual offline activation HOT 5
- fullProjectPath is not set when using runAsHostUser
- packageMode workflow doesn't run playmode tests HOT 2
- chmod: cannot access '/github/workspace/CodeCoverage' HOT 1
- Licensing fails inconsistently during test step HOT 1
- Feature: Add support for Nuget dependency resolution when testing packages HOT 1
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 unity-test-runner.