Skip to content

Fix Kotlin test calling removed openWithIdleTimeout #516

Fix Kotlin test calling removed openWithIdleTimeout

Fix Kotlin test calling removed openWithIdleTimeout #516

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
concurrency:
group: tests-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: "21"
distribution: "graalvm"
github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: DeLaGuardo/setup-clojure@13.4
with:
cli: 1.12.3.1577
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Cache Clojure dependencies
uses: actions/cache@v4
with:
path: |
~/.m2/repository
~/.gitlibs
key: clj-deps-${{ runner.os }}-${{ hashFiles('deps.edn') }}
restore-keys: clj-deps-${{ runner.os }}-
- name: Configure Git
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "actions@github.com"
git config --global init.defaultBranch "main"
- name: Kill conflicting processes
run: |
pkill -f "redis" || true
pkill -f "java.*chrondb" || true
sleep 2
- name: Run non external protocol tests
run: clojure -M:test-non-external-protocol
- name: Run SQL tests
run: clojure -M:test-sql-only
- name: Run Redis tests sequentially
run: clojure -M:test-redis-sequential