Skip to content

Commit

Permalink
Add github action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zelark committed Jan 25, 2024
1 parent 2a8072c commit de29f9b
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: clojure tests

on:
push:
branches:
- '*'
paths:
- '.github/workflows/**'
- 'src/**'
- 'test/**'
- 'project.clj'
- 'deps.edn'

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Choose Java 11
run: |
echo "JAVA_HOME=$JAVA_HOME_11_X64" >> $GITHUB_ENV
echo "$JAVA_HOME_11_X64/bin" >> $GITHUB_PATH
- name: Java version
run: java -version
- name: Install dependencies
run: lein deps
- name: Run tests
run: lein test

0 comments on commit de29f9b

Please sign in to comment.