From d28fb4606912400f901d99dcc1bcf9533ba6a314 Mon Sep 17 00:00:00 2001 From: tooomm Date: Mon, 30 May 2022 10:23:27 +0200 Subject: [PATCH] Update tests.yml --- .github/workflows/tests.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 880ebd67..06c495da 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -47,7 +47,7 @@ jobs: docker: - name: Docker (lts-alpine) + name: Docker runs-on: ubuntu-latest @@ -61,22 +61,24 @@ jobs: run: docker build --tag dr4ft-app . - name: Run container from image - run: docker run -d -p 1337:1337 --name dr4ft dr4ft-app + run: docker run --detach --name dr4ft -p 1337:1337 dr4ft-app - # TODO: This needs probably some tweaking or can be tested further - - name: Access Docker container + # TODO: Extend this and test e.g. creating a game via API + - name: Access dr4ft page run: wget http://localhost:1337 - name: Show information run: | docker --version echo - docker images + docker images dr4ft-app echo - docker ps -a + docker ps echo - echo "Node version (dr4ft container)" - docker run node:lts-alpine node --version + echo "Node version (dr4ft-app image)" + docker run dr4ft-app node --version + echo + docker top dr4ft lint: