Skip to content

add: cleanup fixture #15

add: cleanup fixture

add: cleanup fixture #15

Workflow file for this run

name: Clojure CI
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_DB: challenge_test
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
lein deps &
npm ci
wait
- name: Build
run: |
lein uberjar &
npm run build
wait
- name: Run tests
run: |
lein test &
npm run test
wait
env:
DB_TEST_PASSWORD: postgres