diff options
| author | Asko Nomm <asko@bien.ee> | 2022-04-07 12:45:34 +0200 |
|---|---|---|
| committer | Asko Nomm <asko@bien.ee> | 2022-04-07 12:45:34 +0200 |
| commit | 5aea1a232f57cd0ea7e732fde9a6a623c0ce297e (patch) | |
| tree | 508b30e191e1cdc7066ec3595846af0585699bbd | |
| parent | ba7a4eaa4e22e9d2213d5911cc275b3a7f702376 (diff) | |
Add test workflow.
| -rw-r--r-- | .github/workflows/tests.yml | 31 | ||||
| -rw-r--r-- | README.md | 2 |
2 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 0000000..937395a --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,31 @@ +name: Tests +on: + push: + branches: + - master + workflow_dispatch: + branches: + - master +jobs: + run-tests: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Prepare java + uses: actions/setup-java@v2 + with: + distribution: 'zulu' + java-version: '17' + + - name: Install clojure tools + uses: DeLaGuardo/setup-clojure@4.0 + with: + lein: 'latest' + github-token: ${{ secrets.GITHUB_TOKEN }} + + - name: "Run tests" + run: lein test @@ -1,5 +1,7 @@ # Clarktown +[](https://github.com/askonomm/clarktown/actions/workflows/tests.yml) + An extensible and modular zero-dependency, pure-Clojure Markdown parser. ## Installation |
