Remove comments from ui core #24
Workflow file for this run
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
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 | ||
run: mkdir resources | ||
run: touch resources/config.test.edn | ||
Check failure on line 31 in .github/workflows/clojure.yml GitHub Actions / Clojure CIInvalid workflow file
Check failure on line 31 in .github/workflows/clojure.yml GitHub Actions / Clojure CIInvalid workflow file
|
||
run: | | ||
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\"}}" | ||
run: lein kaocha | ||
- name: Run tests | ||
run: lein test | ||
working-directory: swift-ticketing |