Fixup CI #135
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: Run checks, tests and docker build | |
on: push | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: { path: "~/.m2", key: "${{ runner.os }}-m2" } | |
- name: Install clj runtime | |
run: | | |
cd "$HOME" | |
curl -L -O https://github.com/clojure/brew-install/releases/latest/download/posix-install.sh | |
chmod +x posix-install.sh | |
sudo ./posix-install.sh | |
- name: Start Redis | |
uses: supercharge/[email protected] | |
with: | |
redis-version: 6.2 | |
- name: Run tests | |
env: | |
GATEWAY_URL: https://gateway.test.surfeduhub.nl/ | |
GATEWAY_BASIC_AUTH_USER: ${{ secrets.GATEWAY_BASIC_AUTH_USER }} | |
GATEWAY_BASIC_AUTH_PASS: ${{ secrets.GATEWAY_BASIC_AUTH_PASS }} | |
SERVER_PORT: 3002 | |
run: make check |