Skip to content

Add Teodor to OLORM #800

Add Teodor to OLORM

Add Teodor to OLORM #800

Workflow file for this run

name: Run Clojure unit tests
on: [push, pull_request]
jobs:
Testing:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Install clojure tools
uses: DeLaGuardo/setup-clojure@9.4
with:
cli: latest
- uses: actions/checkout@master
- name: Install pandoc binary
uses: nikeee/setup-pandoc@v1
- name: Read env (for learning github actions)
run: env
- name: Configure OLORM repo path (required for unit tests)
run: mkdir -p "$HOME/.config/olorm/" && echo "{:repo-path \"$GITHUB_WORKSPACE\"}" > /home/runner/.config/olorm/config.edn
- name: Setup name and email for OLORM CLI
run: git config --global user.name "Github actions" && git config --global user.email "github-actions@ci.mikrobloggeriet.no"
- name: Download test deps
run: clojure -A:test -e :test-deps-downloaded
- name: Run tests
run: clojure -M:run-tests