Closed ghost closed 3 years ago
It's actually super simple to use act
. We have a bug though so I'll see after refactoring the GitHub workflows in the Docker image PR. #384
This seems like a good solution to some of my other requests.
I was able to download and install act
very easily but got this error when running it (not sure it is same one you all got)
(base) elizabeth@Elizabeths-MacBook-Pro-2 gtfs-validator % act
[Java CI/build ] 🚀 Start image=node:12.6-buster-slim
[End to end/build] 🚀 Start image=node:12.6-buster-slim
[Java CI/build ] 🐳 docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[End to end/build] 🐳 docker run image=node:12.6-buster-slim entrypoint=["/usr/bin/tail" "-f" "/dev/null"] cmd=[]
[Java CI/build ] 🐳 docker cp src=/Users/elizabeth/Documents/urbanlabs/CA Interoperable/gtfs-validator/. dst=/github/workspace
[End to end/build] 🐳 docker cp src=/Users/elizabeth/Documents/urbanlabs/CA Interoperable/gtfs-validator/. dst=/github/workspace
Error: error during connect: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.40/exec/0065c54f6c29faca7249ab278e81e5e395f6b86dee472800ab0746297de34754/start": net/http: HTTP/1.x transport connection broken: unsupported transfer encoding: "identity"
So, syncing the latest version of master and passing the command act -j run-on-data
Now works fine with the validator running on all datasets until the persist artifact steps...
... which is a known issue of act
https://github.com/nektos/act/issues/329
The files in question can be manually collected inside the container.
Datasets .zip
files are present as well as validation reports .json
in the output
folder
I think that's as far as we can go presently. Do you think @e-lo that would be enough to close this issue after updating the documentation?
@e-lo the documentation has been updated. Let us know as we will merge it for release v1.3.0
that should happen today no earlier than 14:00 EST
Is your feature request related to a problem? Please describe. This a split of #416
Describe the solution you'd like A clear and concise description of what you want to happen.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Study possibility to run locally github actions https://github.com/nektos/act