Skip to content

Commit

Permalink
Really setup github test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cnuernber committed Oct 8, 2023
1 parent d06156c commit 69a92db
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: cnuernber
42 changes: 42 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Automated tests

on:
push:

jobs:
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Restore cached dependencies
uses: actions/cache/restore@v3
with:
path: |
~/.m2/repository
~/.gitlibs
~/.deps.clj
key: cljdeps-${{ hashFiles('deps.edn') }}
- name: Additional dependencies
run: DEBIAN_FRONTEND=noninteractive sudo -E apt-get install -y libopenblas-dev intel-mkl lz4
- name: Java setup
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '8'
- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@12.1
with:
cli: 1.11.1.1413
- name: Run automated tests
run: |
scripts/get-data.sh
scripts/run-tests
- name: Cache dependencies
uses: actions/cache@v3
with:
path: |
~/.m2/repository
~/.gitlibs
~/.deps.clj
key: cljdeps-${{ hashFiles('deps.edn') }}
restore-keys: cljdeps-

0 comments on commit 69a92db

Please sign in to comment.