Skip to content

clean the code

clean the code #280

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: 24.3
elixir-version: 1.13.4
- name: Install inotify-tools
run: sudo apt-get install inotify-tools
- name: Start CouchDB
run: docker-compose -f docker-compose.yml --env-file .env_template up -d &
working-directory: server
- name: Setup server
run: mix setup
working-directory: server
- name: Run server tests
run: mix test
working-directory: server