Skip to content

feat: add CI test pipeline #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 16, 2025
Merged

Conversation

walking-octopus
Copy link
Contributor

Good evening.

This PR is in response to #33. This is my attempt at a CI pipeline. You can configure PRs to be denied merging based on test status in the repo settings.

I tried to test it with act, but it seems to be acting weirdly, being unable to download Racket despite a seemingly correct URL and a widely used action...

I look forward to any feedback/help. Thanks.

INFO[0000] Using docker host 'unix:///run/podman/podman.sock', and daemon socket 'unix:///run/podman/podman.sock'
[Test/test] 🚀  Start image=node:16-buster-slim
[Test/test]   🐳  docker pull image=node:16-buster-slim platform= username= forcePull=true
[Test/test]   🐳  docker create image=node:16-buster-slim platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[Test/test]   🐳  docker run image=node:16-buster-slim platform= entrypoint=["tail" "-f" "/dev/null"] cmd=[] network="host"
[Test/test]   🐳  docker exec cmd=[node --no-warnings -e console.log(process.execPath)] user= workdir=
[Test/test]   ☁  git clone 'https://github.com/actions/cache' # ref=v2
[Test/test]   ☁  git clone 'https://github.com/Bogdanp/setup-racket' # ref=v1.12
[Test/test] ⭐ Run Main actions/checkout@v3
[Test/test]   🐳  docker cp src=/home/stas/racket-algorithms/. dst=/home/stas/racket-algorithms
[Test/test]   ✅  Success - Main actions/checkout@v3
[Test/test]   🐳  docker exec cmd=[/usr/local/bin/node /var/run/act/workflow/hashfiles/index.js] user= workdir=
[Test/test] ⭐ Run Main Cache installed packages
[Test/test]   🐳  docker cp src=/root/.cache/act/actions-cache@v2/ dst=/var/run/act/actions/actions-cache@v2/
[Test/test]   🐳  docker exec cmd=[/usr/local/bin/node /var/run/act/actions/actions-cache@v2/dist/restore/index.js] user= workdir=
[Test/test]   💬  ::debug::Resolved Keys:
[Test/test]   💬  ::debug::["Linux-raco-c181baacc8ce975b8f4a02a8d363a96d0681a5f1da12df3ade1c0dcea506f7c0"]
[Test/test]   💬  ::debug::Checking zstd --version
[Test/test]   💬  ::debug::Unable to locate executable file: zstd. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
[Test/test]   💬  ::debug::
[Test/test]   💬  ::debug::Resource Url: http://192.168.0.124:40297/_apis/artifactcache/cache?keys=Linux-raco-c181baacc8ce975b8f4a02a8d363a96d0681a5f1da12df3ade1c0dcea506f7c0&version=25db26c49c6edced6efb9ca9aa521cfe65fd100112ba5d8486ac0acd9d506364
| Cache not found for input keys: Linux-raco-c181baacc8ce975b8f4a02a8d363a96d0681a5f1da12df3ade1c0dcea506f7c0
[Test/test]   ✅  Success - Main Cache installed packages
[Test/test] ⭐ Run Main Set up Racket
[Test/test]   🐳  docker cp src=/root/.cache/act/Bogdanp-setup-racket@v1.12/ dst=/var/run/act/actions/Bogdanp-setup-racket@v1.12/
[Test/test]   🐳  docker exec cmd=[/usr/local/bin/node /var/run/act/actions/Bogdanp-setup-racket@v1.12/lib/setup-racket.js] user= workdir=
[Test/test]   ❓  ::group::Looking up stable version...
[Test/test]   ❓  ::endgroup::
[Test/test]   ❓  ::group::Installing Racket 8.16 (CS, full, x64)...
| installerURL = https://download.racket-lang.org/installers/8.16/racket-8.16-x86_64-linux-cs.sh
[Test/test]   💬  ::debug::Downloading https://download.racket-lang.org/installers/8.16/racket-8.16-x86_64-linux-cs.sh
[Test/test]   💬  ::debug::Destination /tmp/2f7c81a8-29af-43d5-a080-197d6e1f5a5d
| connect ETIMEDOUT 129.10.116.85:443
| Waiting 13 seconds before trying again
| connect ETIMEDOUT 129.10.116.85:443
| Waiting 14 seconds before trying again

Copy link
Owner

@codereport codereport left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will merge to see if works :)

@codereport codereport merged commit 0b6305f into codereport:master Apr 16, 2025
@walking-octopus walking-octopus mentioned this pull request Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants