forked from ufosc/AskAGator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of github.com:ufosc/AskAGator into develop
- Loading branch information
Showing
1 changed file
with
14 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,16 +6,27 @@ jobs: | |
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
container: | ||
image: elixir:1.9.1-slim | ||
|
||
services: | ||
db: | ||
image: postgres:11 | ||
ports: ['5432:5432'] | ||
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/[email protected] | ||
with: | ||
otp-version: 22.2 | ||
elixir-version: 1.9.4 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12 | ||
- name: Install Dependencies | ||
run: | | ||
mix local.rebar --force | ||
mix local.hex --force | ||
mix deps.get | ||
yarn --cwd assets install | ||
- name: Run Tests | ||
run: mix test |