Skip to content

Fix linter warnings #28

Fix linter warnings

Fix linter warnings #28

Workflow file for this run

name: Clojure CI
on:
push:
paths:
- swift-ticketing/**
branches: [ "ci" ]
env:
POSTGRES_DB: swift_ticketing
POSTGRES_USER: swift_user
POSTGRES_PASSWORD: swift_password
jobs:
build:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:latest
ports:
- 5432:5432
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: lein deps
working-directory: swift-ticketing
- name: Create test config file
working-directory: swift-ticketing
run: |
touch resources/config.test.edn
echo \
"{:server \
{:port 9090 \
:join? false} \
:database \
{:dbtype \"postgres\" \
:host \"localhost\" \
:port 5432 \
:dbname $POSTGRES_DB \
:username $POSTGRES_USER \
:password $POSTGRES_PASSWORD \
:schema \"swift_ticketing\"}}"
- name: Run tests
run: lein kaocha
working-directory: swift-ticketing