Skip to content

test1

test1 #22

Workflow file for this run

name: build-tests
on:
pull_request:
branches:
- dev
jobs:
unit-testing:
runs-on: ubuntu-latest
env:
MONGO_URI: ${{ secrets.MONGO_URI }}
steps:
- uses: actions/checkout@v3
# - run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
- name: Build Docker image
run: docker build -f Dockerfile-dev -t brok3turtl3/codehammers:latest .
- name: Run Docker Compose
run: TEST_COMMAND=test:silent docker-compose -f docker-compose-test.yml up --abort-on-container-exit