Skip to content
Snippets Groups Projects
Commit cee104be authored by Braden Shepherdson's avatar Braden Shepherdson Committed by Braden Shepherdson
Browse files

Fix Github workflows now that building CLJS needs `clojure`

This is needed with the move to `deps.edn` for tracking all
dependencies, since it makes shadow-cljs rely on the `clojure`
binary.
parent 7102102a
No related branches found
No related tags found
No related merge requests found
......@@ -28,12 +28,12 @@ jobs:
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- name: Build static viz frontend
run: yarn build-static-viz
- name: Prepare back-end environment
uses: ./.github/actions/prepare-backend
with:
m2-cache-key: 'cloverage'
- name: Build static viz frontend
run: yarn build-static-viz
- name: Collect the test coverage
run: clojure -X:dev:ee:ee-dev:test:cloverage
- name: Upload coverage to codecov.io
......
......@@ -16,5 +16,9 @@ jobs:
- uses: actions/checkout@v3
- name: Prepare front-end environment
uses: ./.github/actions/prepare-frontend
- name: Prepare back-end environment
uses: ./.github/actions/prepare-backend
with:
m2-cache-key: 'cljs'
- name: Run Cljs tests for shared/ code
run: yarn run test-cljs
......@@ -52,6 +52,10 @@ jobs:
- uses: actions/checkout@v3
- name: Prepare front-end environment
uses: ./.github/actions/prepare-frontend
- name: Prepare back-end environment
uses: ./.github/actions/prepare-backend
with:
m2-cache-key: 'cljs'
- run: yarn run lint-eslint
name: Run ESLint linter
......@@ -62,6 +66,10 @@ jobs:
- uses: actions/checkout@v3
- name: Prepare front-end environment
uses: ./.github/actions/prepare-frontend
- name: Prepare back-end environment
uses: ./.github/actions/prepare-backend
with:
m2-cache-key: 'cljs'
- run: yarn build-quick:cljs
name: Compile CLJS
- run: yarn type-check
......@@ -75,6 +83,10 @@ jobs:
- uses: actions/checkout@v3
- name: Prepare front-end environment
uses: ./.github/actions/prepare-frontend
- name: Prepare back-end environment
uses: ./.github/actions/prepare-backend
with:
m2-cache-key: 'cljs'
- run: yarn run test-unit --coverage --silent
name: Run frontend unit tests
- name: Upload coverage to codecov.io
......@@ -91,6 +103,10 @@ jobs:
- uses: actions/checkout@v3
- name: Prepare front-end environment
uses: ./.github/actions/prepare-frontend
- name: Prepare back-end environment
uses: ./.github/actions/prepare-backend
with:
m2-cache-key: 'cljs'
- run: yarn run test-timezones
name: Run frontend timezones tests
......@@ -104,6 +120,10 @@ jobs:
fetch-depth: 0
- name: Prepare front-end environment
uses: ./.github/actions/prepare-frontend
- name: Prepare back-end environment
uses: ./.github/actions/prepare-backend
with:
m2-cache-key: 'cljs'
- name: Publish to Chromatic
uses: chromaui/action@v1
env:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment