diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index aed3096..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,32 +0,0 @@ -# Clojure CircleCI 2.0 configuration file -# -# Check https://circleci.com/docs/2.0/language-clojure/ for more details -# -version: 2 -jobs: - build: - docker: - - image: circleci/clojure:tools-deps - - working_directory: ~/repo - - environment: - LEIN_ROOT: "true" - JVM_OPTS: -Xmx3200m - - steps: - - checkout - - # Download and cache dependencies - - restore_cache: - keys: - - v1-dependencies-{{ checksum "deps.edn" }} - - - run: clojure -R:test -e "" - - - save_cache: - paths: - - ~/.m2 - key: v1-dependencies-{{ checksum "deps.edn" }} - - - run: clojure -A:test diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..d61d1fc --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,38 @@ +name: Run Tests + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Prepare java + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '11' + + - name: Install clojure tools + uses: DeLaGuardo/setup-clojure@13.4 + with: + cli: latest + + - name: Cache clojure dependencies + uses: actions/cache@v4 + with: + path: | + ~/.m2/repository + ~/.gitlibs + ~/.deps.clj + key: cljdeps-${{ hashFiles('deps.edn') }} + restore-keys: cljdeps- + + - name: Run tests + run: clojure -M:provided:test \ No newline at end of file diff --git a/README.adoc b/README.adoc index 4706310..f31e32f 100644 --- a/README.adoc +++ b/README.adoc @@ -17,7 +17,7 @@ image:./assets/eql_logo_github.png[] image:https://img.shields.io/clojars/v/edn-query-language/eql.svg[link=https://clojars.org/edn-query-language/eql] image:https://cljdoc.xyz/badge/edn-query-language/eql[link=https://cljdoc.xyz/d/edn-query-language/eql/CURRENT] -image:https://circleci.com/gh/edn-query-language/eql/tree/master.svg?style=svg["CircleCI", link="https://circleci.com/gh/edn-query-language/eql/tree/master"] +image:https://github.com/edn-query-language/eql/actions/workflows/test.yml/badge.svg["GitHub actions", link="https://github.com/edn-query-language/eql/actions/workflows/test.yml"] This repository contains a specification for EQL and a support library to help the development of tools using it.