Skip to content

Enable taps tests again #302

Enable taps tests again

Enable taps tests again #302

Workflow file for this run

name: tests
on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_dispatch: # Supports manual triggering
env:
# increment to "clear" the cache
CACHE_VERSION: "v1"
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Prepare java
uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "21"
- name: Install clojure tools
uses: DeLaGuardo/[email protected]
with:
cli: 1.12.0.1530
lein: 2.11.2
- name: Cache clojure dependencies
uses: actions/cache@v4
with:
path: |
~/.m2/repository
~/.gitlibs
~/.deps.clj
# List all files containing dependencies:
key: cljdeps-${{ env.CACHE_VERSION }}-${{ hashFiles('project.clj') }}-${{ hashFiles('deps.edn') }}-${{ hashFiles('bb.edn') }}
restore-keys: cljdeps-${{ env.CACHE_VERSION }}-
- name: Prepare node
uses: actions/setup-node@v4
with:
node-version: "23.x"
check-latest: true
cache: 'npm'
cache-dependency-path: "package-lock.json"
- name: Install Node Dependencies
run: npm ci
- name: Compile ClojureScript Tests
run: npm run build
- name: Run ClojureScript Tests
run: npm test
- name: Run Clojure tests
run: lein test