remove clojure dep for CI
This commit is contained in:
@@ -6,9 +6,8 @@ integration tests, and joint line coverage.
|
||||
|
||||
## Requirements
|
||||
|
||||
- [Clojure CLI](https://clojure.org/guides/install_clojure) (tools.deps) and JDK 11+
|
||||
- [Babashka](https://babashka.org/) for merging coverage reports (`script/coverage-report`)
|
||||
- Docker, for the integration tests only
|
||||
- Docker, for the integration tests and the `script/docker-*` tasks (all CI needs)
|
||||
- For running tasks natively (optional): [Clojure CLI](https://clojure.org/guides/install_clojure) (tools.deps) with JDK 11+, and [Babashka](https://babashka.org/) for `script/coverage-report`
|
||||
|
||||
## Running
|
||||
|
||||
@@ -60,6 +59,7 @@ script/repl
|
||||
| `script/unit-test` | Runs the Clojure tests in `test/` |
|
||||
| `script/integration-test` | Builds the app image, starts it on a random port, runs the [integration suite](integration-test/README.md) against it, then tears it down |
|
||||
| `script/test` | Unit tests, then integration tests (stops at the first failure) |
|
||||
| `script/docker-unit-test` | Same as `script/unit-test`, but inside the app image (Docker only) |
|
||||
|
||||
### Coverage
|
||||
|
||||
@@ -70,6 +70,7 @@ Line coverage via [Cloverage](https://github.com/cloverage/cloverage):
|
||||
| `script/unit-coverage` | `target/coverage/unit/` |
|
||||
| `script/integration-coverage` | `target/coverage/integration/` |
|
||||
| `script/coverage` | Runs both, then writes the merged report to `target/coverage/merged/` |
|
||||
| `script/docker-unit-coverage`, `script/docker-coverage-report` | Dockerized versions of the unit run and the merge step, so `script/docker-unit-coverage`, `script/integration-coverage`, `script/docker-coverage-report` is `script/coverage` with no local Clojure or Babashka (this is what CI runs) |
|
||||
|
||||
Each report directory has an `index.html` and an `lcov.info`. See
|
||||
[integration-test/README.md](integration-test/README.md) for how integration coverage is
|
||||
|
||||
Reference in New Issue
Block a user