From 488987be775663e1a17cdbdcfc389f7402c2977c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20A=20Le=C3=B3n=20Baldelli?= Date: Mon, 25 Mar 2024 17:40:57 +0100 Subject: [PATCH] testing ci --- .github/workflows/pull-image.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/pull-image.yml diff --git a/.github/workflows/pull-image.yml b/.github/workflows/pull-image.yml new file mode 100644 index 00000000..554b944b --- /dev/null +++ b/.github/workflows/pull-image.yml @@ -0,0 +1,23 @@ +name: Run Tests in Docker Container + +on: + push: + branches: + - main + +jobs: + test: + runs-on: ubuntu-latest + + steps: + # Step 1: Pull the Docker container from Docker Hub + - name: Pull Docker Container + run: docker pull kumiori3/numerix:stable + + # Step 2: Check out the repository code within the container + - name: Run Tests in Docker Container + run: | + docker run --rm \ + -v ${{ github.workspace }}:/workspace \ + kumiori3/numerix:stable \ + sh -c "cd /workspace && ls -la"