Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
83363023
Unverified
Commit
83363023
authored
3 years ago
by
Ariya Hidayat
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Use GitHub Actions to run shared CLJS tests (#19854)
parent
12de5f85
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.circleci/config.yml
+0
-13
0 additions, 13 deletions
.circleci/config.yml
.github/workflows/cljs.yml
+44
-0
44 additions, 0 deletions
.github/workflows/cljs.yml
with
44 additions
and
13 deletions
.circleci/config.yml
+
0
−
13
View file @
83363023
...
...
@@ -841,15 +841,6 @@ jobs:
-
/home/circleci/metabase/metabase/node_modules
-
/home/circleci/.cache/Cypress
shared-tests-cljs
:
executor
:
builder
steps
:
-
attach-workspace
-
run-yarn-command
:
command-name
:
Run Cljs tests for shared/ code
command
:
run test-cljs
skip-when-no-change
:
true
# Unlike the other build-uberjar steps, this step should be run once overall and the results can be shared between
# OSS and EE uberjars.
build-uberjar-drivers
:
...
...
@@ -1316,10 +1307,6 @@ workflows:
requires
:
-
checkout
-
shared-tests-cljs
:
requires
:
-
fe-deps
-
fe-tests-cypress
:
matrix
:
parameters
:
...
...
This diff is collapsed.
Click to expand it.
.github/workflows/cljs.yml
0 → 100644
+
44
−
0
View file @
83363023
name
:
CLJS
on
:
push
:
branches
:
-
'
**'
paths
:
-
'
shared/src/'
-
'
**/package.json'
-
'
**/yarn.lock'
-
'
.github/workflows/**'
pull_request
:
jobs
:
shared-tests-cljs
:
runs-on
:
ubuntu-20.04
timeout-minutes
:
10
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Prepare Node.js
uses
:
actions/setup-node@v1
with
:
node-version
:
14.x
-
name
:
Get M2 cache
uses
:
actions/cache@v2
with
:
path
:
|
~/.m2
~/.gitlibs
key
:
${{ runner.os }}-cljs-${{ hashFiles('**/deps.edn') }}
-
name
:
Get yarn cache
uses
:
actions/cache@v2
with
:
path
:
~/.cache/yarn
key
:
${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
-
name
:
Get node_modules cache
uses
:
actions/cache@v2
with
:
path
:
node_modules
key
:
${{ runner.os }}-node-modules-${{ hashFiles('**/yarn.lock') }}
-
run
:
yarn install --frozen-lockfile --prefer-offline
-
name
:
Run Cljs tests for shared/ code
run
:
yarn run test-cljs
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment