Skip to content

Automata release

Automata release #611

Workflow file for this run

name: Clojure CI
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
stylus:
name: 'Check Stylus css'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install npm dependencies
run: npm install
- name: Compile stylus css
run: npm run css:release
clojurescript:
name: 'Compile Clojurescript'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install npm dependencies
run: npm install
- name: Compile clojurescript with shadow-cljs
run: npm run cljs:release
clojure-tests:
name: 'Run jnet tests'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache
uses: actions/[email protected]
with:
# A list of files, directories, and wildcard patterns to cache and restore
path: |
~/.m2
~/.lein
# An explicit key for restoring and saving the cache
key: lein-deps-{{ checksum "project.clj" }}
# An ordered list of keys to use for restoring stale cache if no cache hit occurred for key. Note `cache-hit` returns false in this case.
restore-keys: lein-deps-{{ checksum "project.clj" }}
- name: Fetch cards
run: lein fetch --no-db --no-card-images
- name: Run tests
run: lein kaocha --profile :ci