diff --git a/.github/workflows/CI_pull_request.yml b/.github/workflows/CI_pull_request.yml index 311bd4d9..e8846fab 100644 --- a/.github/workflows/CI_pull_request.yml +++ b/.github/workflows/CI_pull_request.yml @@ -3,10 +3,43 @@ on: pull_request: branches: - main - schedule: - - cron: '15 2 * * TUE' # Also run the full test suite for PRs on the main branch every Tuesday night - workflow_dispatch: # allow for manually trigging the workflow + workflow_dispatch: # allow for manually trigging the workflow jobs: + debug-dump: + runs-on: ubuntu-latest + steps: + - name: Dump GitHub context + env: + GITHUB_CONTEXT: ${{ toJson(github) }} + run: echo "$GITHUB_CONTEXT" + - name: Dump job context + env: + JOB_CONTEXT: ${{ toJson(job) }} + run: echo "$JOB_CONTEXT" + - name: Dump steps context + env: + STEPS_CONTEXT: ${{ toJson(steps) }} + run: echo "$STEPS_CONTEXT" + - name: Dump runner context + env: + RUNNER_CONTEXT: ${{ toJson(runner) }} + run: echo "$RUNNER_CONTEXT" + - name: Dump strategy context + env: + STRATEGY_CONTEXT: ${{ toJson(strategy) }} + run: echo "$STRATEGY_CONTEXT" + - name: Dump matrix context + env: + MATRIX_CONTEXT: ${{ toJson(matrix) }} + run: echo "$MATRIX_CONTEXT" + + - name: Show default environment variables + run: | + echo "The job_id is: $GITHUB_JOB" # reference the default environment variables + echo "The id of this action is: $GITHUB_ACTION" # reference the default environment variables + echo "The run id is: $GITHUB_RUN_ID" + echo "The GitHub Actor's username is: $GITHUB_ACTOR" + echo "GitHub SHA: $GITHUB_SHA" lint-and-format: name: Lint and check formatting runs-on: ubuntu-latest diff --git a/.github/workflows/CI_push.yml b/.github/workflows/CI_push.yml index da312d13..2dffaba9 100644 --- a/.github/workflows/CI_push.yml +++ b/.github/workflows/CI_push.yml @@ -5,7 +5,44 @@ on: - "**" tags-ignore: - "**" + workflow_dispatch: + jobs: + debug-dump: + runs-on: ubuntu-latest + steps: + - name: Dump GitHub context + env: + GITHUB_CONTEXT: ${{ toJson(github) }} + run: echo "$GITHUB_CONTEXT" + - name: Dump job context + env: + JOB_CONTEXT: ${{ toJson(job) }} + run: echo "$JOB_CONTEXT" + - name: Dump steps context + env: + STEPS_CONTEXT: ${{ toJson(steps) }} + run: echo "$STEPS_CONTEXT" + - name: Dump runner context + env: + RUNNER_CONTEXT: ${{ toJson(runner) }} + run: echo "$RUNNER_CONTEXT" + - name: Dump strategy context + env: + STRATEGY_CONTEXT: ${{ toJson(strategy) }} + run: echo "$STRATEGY_CONTEXT" + - name: Dump matrix context + env: + MATRIX_CONTEXT: ${{ toJson(matrix) }} + run: echo "$MATRIX_CONTEXT" + + - name: Show default environment variables + run: | + echo "The job_id is: $GITHUB_JOB" # reference the default environment variables + echo "The id of this action is: $GITHUB_ACTION" # reference the default environment variables + echo "The run id is: $GITHUB_RUN_ID" + echo "The GitHub Actor's username is: $GITHUB_ACTOR" + echo "GitHub SHA: $GITHUB_SHA" lint-and-format: name: Lint and check formatting runs-on: ubuntu-latest diff --git a/.github/workflows/SCHED_docs_linkcheck.yml b/.github/workflows/SCHED_docs_linkcheck.yml index 5673b869..668e6ee0 100644 --- a/.github/workflows/SCHED_docs_linkcheck.yml +++ b/.github/workflows/SCHED_docs_linkcheck.yml @@ -3,8 +3,6 @@ on: pull_request: branches: - main - schedule: - - cron: '15 2 * * TUE' # every Tuesday night workflow_dispatch: # allow for manually trigging the workflow jobs: check-docs-links: diff --git a/cotainr/container.py b/cotainr/container.py index 00410ae9..5c349d36 100644 --- a/cotainr/container.py +++ b/cotainr/container.py @@ -64,6 +64,7 @@ class SingularitySandbox: def __init__(self, *, base_image, log_settings=None): """Construct the SingularitySandbox context manager.""" + print('test') self.base_image = base_image self.sandbox_dir = None self.architecture = None