Skip to content

Bugfix in 'defer' lens. #207

Bugfix in 'defer' lens.

Bugfix in 'defer' lens. #207

Workflow file for this run

name: Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install karma
run: |
sudo npm install -g karma
sudo npm install -g karma-cljs-test
sudo npm install -g karma-firefox-launcher
sudo npm install -g karma-chrome-launcher
- name: Install dependencies
run: lein deps
- name: Run tests
run: |
lein doo firefox-headless test once
lein doo chrome-headless test once
lein test
- name: Notify with mattermost upon failure
if: failure()
env:
SECRET: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
CHANNEL: "active-clojure"
USERNAME: "GitHub"
run: |
URL=https://github.com/${GITHUB_REPOSITORY}/commit/${GITHUB_SHA}
curl -i --data-urlencode "payload={\"channel\":\"${CHANNEL}\", \"username\":\"${USERNAME}\",\"text\":\"Failure in tests: ${URL}\"}" ${SECRET}