Skip to content

Commit

Permalink
actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Bigsy committed Oct 14, 2023
1 parent 0a4cbfb commit 268c794
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Tests

# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ master ]
pull_request:
branches: [ master ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:

tests:

strategy:
matrix:
operating-system: [ubuntu-latest]

runs-on: ${{ matrix.operating-system }}

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Prepare java
uses: actions/setup-java@v3.5.0
with:
distribution: 'adopt'
java-version: '19'

- name: Install clojure tools-deps
uses: DeLaGuardo/setup-clojure@master
with:
lein: 2.9.10

- name: Execute clojure code
run: lein test

0 comments on commit 268c794

Please sign in to comment.