Skip to content

Merge branch 'master' into qr_codes_integration #264

Merge branch 'master' into qr_codes_integration

Merge branch 'master' into qr_codes_integration #264

Workflow file for this run

name: Server
on:
push:
paths:
- "server/**"
- ".github/workflows/server.yml"
pull_request:
paths:
- "server/**"
- ".github/workflows/server.yml"
jobs:
Tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: 26.0
elixir-version: 1.16.0
- name: Start CouchDB
run: docker-compose -f docker-compose.yml --env-file .env_template up -d
working-directory: server
- name: Sleep to await CouchDB startup
run: sleep 15s
- name: Install FieldHub dependencies and run setup
run: mix setup
working-directory: server
- name: Run FieldHub tests
run: mix test
working-directory: server