@Jan Range see https://github.com/gdcc/api-test-runner
- name: Dump docker logs on failure
if: failure()
uses: jwalton/gh-docker-logs@v2
with:
dest: './logs'
- name: Tar logs
if: failure()
run: tar cvzf ./logs.tgz ./logs
- name: Upload logs to GitHub
if: failure()
uses: actions/upload-artifact@master
with:
name: logs.tgz
path: ./logs.tgz
@Philip Durbin ๐ I have added the log saves to the script in pyDataverse. Will add it to the action as well now
Looking at the GitHub Action, adding the log step as a post-step will be difficult. Since we are using a composite action, all steps defined will be run in sequence, and only then the next steps in any CI will be taken. Either we rewrite the action in JavaScript, which allows both pre- and post-runs, or we simply document how one can retrieve the logs in the CI. What are your thoughts?
Okay, I went down the Node actions rabbit hole with a little help from Claude, and I think I am almost there. Only thing missing is that the logs are pushed as artifacts, but they are present in the action runs now :slight_smile:
https://github.com/gdcc/dataverse-action/actions/runs/17987836304/job/51170398822
Oh! That's better, i think, to be able to just see the logs instead of having to download a tarball. :thinking:
Awesome! I also like that it is within the run logs. At first I thought it may be cluttered, but it actually looks nice :smile:
I'd still try to get the logs as an artifact. Maybe there is a use case for it :slight_smile:
Belt and suspenders. Sure.
Logs are now uploaded :slight_smile:
https://github.com/gdcc/dataverse-action/actions/runs/17988383629
It's definitely nice to have both.
Now we just need something to break! :bomb:
We will catch all the bugs! :smiling_devil:
Today is the day of pull requests :smile:
https://github.com/gdcc/dataverse-action/pull/18
Husky? :dog:
this? https://github.com/typicode/husky
Yes, exactly this!
Git hooks made easy :puppy: woof!
Love the name :smile:
Just recently found it and it is quite cool
My daughter is a Husky: https://en.wikipedia.org/wiki/Northeastern_Huskies
Cool! All disciplines or specific ones like hockey?
Well, she was a rower :woman_rowing_boat: in high school but she just joined the rugby team. :rugby:
Last updated: Nov 01 2025 at 14:11 UTC