Comments (2)
Test with
only refers to repositories that are mentioned in the manifest the test is running on (e.g. camkes-vm-examples-manifest
). Saying Test with: org/ci-actions#n
doesn't make sense in that context.
We could try to make ci-actions
a special case, but that also doesn't make any sense, because at the time the action runs it is much too late -- it is already running the old version of the action (the action reads the PR text). It'd have to somehow reset and restart itself in a different version which is not supported by any of the underlying GitHub infrastructure (and probably shouldn't be for security). It'd also need to be able to automatically build and deploy test docker containers etc.
Testing action code works differently and depends on what kind of action it is. If it is a docker action you need to build and deploy that container manually somewhere and modify the workflow file in the repo you are testing to point to that new container. You'll usually want to change the test trigger to push: <testing-branch>
where <testing-branch>
is the PR branch in your repo that you want to test the action with. After all this, when you push to the branch it should be executing the new action code.
This is not anything to do with the action setup in ci-actions, it's just how GitHub actions work. I don't think there is anything to implement or fix here, even if it is annoying to do.
What I could try to do is write up a small doc that has instructions on how to do this, because it is absolutely true that this all a bit complex.
from ci-actions.
Sam issue if it's a PR in the seL4 organization, see https://github.com/Hensoldt-Cyber/camkes-vm-examples/actions/runs/4617763392/jobs/8164399372?pr=5
Setting up
Starting repo checkout on branch master with manifest master.xml:
repo has been initialized in /github/workspace
repo sync has finished successfully.
Fetching 0f9fd9cce918a25f8f0e0227fea4f1585ec04fe9 from github.com/Hensoldt-Cyber/camkes-vm-examples.git
extra PRs: seL4/ci-actions#268
unknown
Fetching refs/pull/268/head from github.com/seL4/ci-actions.git
fatal: not a git repository (or any parent up to mount point /github)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /github)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
...
from ci-actions.
Related Issues (20)
- "Test with: <org>/<repo>#<id>" does no work across organizations when forking repos HOT 10
- Deploy action should not run on forks of the ci-action repos HOT 1
- re-use deploy actions as PR tests
- Investigate running MCS on Qemu simulation targets HOT 3
- Make "Test with:" support more formats
- Make "Test with:" support branches also HOT 3
- adjust sel4bench parameters for hifive
- use l4v sorry-count.sh
- update actions to node16
- update use of `set-output` HOT 1
- make sel4bench run available on seL4 PRs HOT 1
- compile action should test MCS HOT 2
- fix set-ouput breakage HOT 2
- find hg versions that work for the Isabelle mirror HOT 2
- Build and simulate sel4test for Microchip PolarFire Icicle Kit HOT 1
- Build seL4 and seL4test for all supported platforms HOT 5
- thylint action should not fail on deleted files
- preprocess bump for MCS
- record successful test revisions for mcs.xml
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 ci-actions.