Skip to content

Commit 0a92448

Browse files
authored
Merge pull request #347 from astro-informatics/tkoskela-patch-1
Add CI debugging instructions
2 parents 4c50839 + 1631089 commit 0a92448

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,13 @@ When `purify` runs a directory will be created, and the output images will be
9191
saved and time-stamped. Additionally, a config file with the settings used will
9292
be saved and time-stamped, helping for reproducibility and book-keeping.
9393

94+
## Debugging the CI workflow with tmate
95+
96+
The CI workflow has a manual dispatch trigger which allows you to log into the job while it's running. You can trigger it in
97+
[actions](https://github.com/astro-informatics/purify/actions/workflows/cmake.yml).
98+
Run the workflow and set `debug_enabled=true` to enable the `tmate` step in the CI workflow. Once the workflow is running, open the job in actions.
99+
You should see it printing out a line with a `ssh` command. Run it in terminal to log into the GitHub Actions runner.
100+
94101
## Docker
95102

96103
A Dockerfile is available on DockerHub. We are currently not maintaining it, and cannot

0 commit comments

Comments
 (0)