Add build for HMS version 3.1.3 #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: { branches: [ main ] } | |
pull_request: | |
jobs: | |
test: | |
name: Run test suite | |
runs-on: ubuntu-latest | |
env: | |
DOCKER_USER: ${{ secrets.DOCKER_USER }} | |
DOCKER_PASS: ${{ secrets.DOCKER_PASS }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Login to DockerHub | |
run: echo $DOCKER_PASS | docker login --username $DOCKER_USER --password-stdin | |
- name: Build docker images | |
run: make build | |
- name: Boot development environment | |
run: make env-up | |
- name: Run tests | |
run: docker-compose run test |