Skip to content

Commit

Permalink
Try to re-enable coveralls.
Browse files Browse the repository at this point in the history
  • Loading branch information
ruedigergad committed Dec 31, 2023
1 parent 7063006 commit 144cd52
Showing 1 changed file with 25 additions and 56 deletions.
81 changes: 25 additions & 56 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,57 +1,26 @@
# Use the latest 2.1 version of CircleCI pipeline process engine.
# See: https://circleci.com/docs/configuration-reference
# For a detailed guide to building and testing with clojure, read the docs:
# https://circleci.com/docs/language-clojure/ for more details
version: 2.1

# Define a job to be invoked later in a workflow.
# See: https://circleci.com/docs/configuration-reference/#jobs
jobs:
run_tests_job:
# Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub.
# See: https://circleci.com/docs/configuration-reference/#docker-machine-macos-windows-executor
docker:
# specify the version you desire here
- image: circleci/clojure:lein-2.9.5

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/circleci-images/
# - image: circleci/postgres:9.4

working_directory: ~/repo

environment:
LEIN_ROOT: "true"
# Customize the JVM maximum heap limit
JVM_OPTS: -Xmx3200m

# Add steps to the job
# See: https://circleci.com/docs/configuration-reference/#steps
steps:
- checkout

# Download and cache dependencies
- restore_cache:
keys:
- v1-dependencies-{{ checksum "project.clj" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

- run: lein deps

- save_cache:
paths:
- ~/.m2
key: v1-dependencies-{{ checksum "project.clj" }}

# run tests!
- run: lein test

# Invoke jobs via workflows
# See: https://circleci.com/docs/configuration-reference/#workflows
workflows:
run_tests: # This is the name of the workflow, feel free to change it to better match your workflow.
# Inside the workflow, you define the jobs you want to run.
jobs:
- run_tests_job
orbs:
coveralls: coveralls/[email protected]
jobs:
run_tests_job:
docker:
- image: circleci/clojure:lein-2.9.5
working_directory: ~/repo
environment:
LEIN_ROOT: "true"
JVM_OPTS: -Xmx3200m
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "project.clj" }}
- v1-dependencies-
- run: lein deps
- save_cache:
paths:
- ~/.m2
key: v1-dependencies-{{ checksum "project.clj" }}
- run: 'lein cloverage -t "bowerick.test.*" -e "bowerick.JmsController"'
- coveralls/upload

workflows: null

0 comments on commit 144cd52

Please sign in to comment.