Skip to content

Commit

Permalink
Update tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tooomm authored May 30, 2022
1 parent 92a4c16 commit d80e96e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ jobs:
uses: actions/checkout@v3

- name: Build image from Dockerfile
run: docker build --tag dr4ft-image .
run: docker build --tag dr4ft-app .

- name: Run container from image
run: docker run --detach -p 1337:1337 --name dr4ft dr4ft-image
run: docker run --detach --name dr4ft -p 1337:1337 dr4ft-app

# TODO: Extend this and test e.g. creating a game via API
- name: Access dr4ft page
Expand All @@ -71,12 +71,12 @@ jobs:
run: |
docker --version
echo
docker images dr4ft-image
docker images dr4ft-app
echo
docker ps
echo
echo "Node version (dr4ft container)"
docker run dr4ft node --version
docker run dr4ft-app node --version
echo
docker top dr4ft
Expand Down

0 comments on commit d80e96e

Please sign in to comment.