From 2a197a4931709ec72f699a9e9faf1ed7b83c2c95 Mon Sep 17 00:00:00 2001 From: Soren Rasmussen Date: Thu, 25 Jul 2024 13:15:40 -0600 Subject: [PATCH] debugging --- .github/workflows/ci_test_docker.yml | 2 ++ docker/Dockerfile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/ci_test_docker.yml b/.github/workflows/ci_test_docker.yml index 51991a10d..cc409d388 100644 --- a/.github/workflows/ci_test_docker.yml +++ b/.github/workflows/ci_test_docker.yml @@ -4,6 +4,7 @@ on: [pull_request,workflow_dispatch] env: TEST_TAG: dtcenter/ccpp-scm:test + PR_NUMBER: ${{ github.event.number }} jobs: docker: @@ -22,6 +23,7 @@ jobs: file: docker/Dockerfile load: true tags: ${{ env.TEST_TAG }} + PR_NUMBER: ${PR_NUMBER} - name: Test run: | mkdir $HOME/output diff --git a/docker/Dockerfile b/docker/Dockerfile index aa0f33e07..8b0655b86 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -17,6 +17,8 @@ RUN ln -s /usr/bin/python3 /usr/bin/python # f90nml can't be installed for debian that way RUN pip install f90nml --break-system-packages +RUN echo "PR_NUMBER IS ${PR_NUMBER}" + #Compiler environment variables ENV CC=/usr/bin/gcc ENV FC=/usr/bin/gfortran