Skip to content

Fix Python wheel version and Go test filename in release #414

Fix Python wheel version and Go test filename in release

Fix Python wheel version and Go test filename in release #414

Workflow file for this run

name: Coverage
on:
push:
branches: [main]
pull_request:
concurrency:
group: coverage-${{ github.ref }}
cancel-in-progress: true
jobs:
coverage:
runs-on: ubuntu-latest
env:
JAVA_OPTS: "-XX:+UseG1GC -Xmx3g -Xms1g"
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 coverage (PR — skip external protocols)
if: github.event_name == 'pull_request'
run: clojure -M:coverage-non-external-protocol
- name: Run coverage (main — full)
if: github.event_name != 'pull_request'
run: clojure -M:coverage