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
6ec336fd
Unverified
Commit
6ec336fd
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 smoke tests (#15792)
parent
9bb6e83f
No related branches found
Branches containing commit
No related tags found
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
-62
0 additions, 62 deletions
.circleci/config.yml
.github/workflows/uberjar.yml
+40
-0
40 additions, 0 deletions
.github/workflows/uberjar.yml
with
40 additions
and
62 deletions
.circleci/config.yml
+
0
−
62
View file @
6ec336fd
...
...
@@ -912,31 +912,6 @@ jobs:
-
store_test_results
:
path
:
cypress/results
fe-tests-cypress-smoketest
:
parameters
:
e
:
type
:
executor
default
:
clojure-and-node-and-browsers
cypress-group
:
type
:
string
<<
:
*Params
executor
:
<< parameters.e >>
environment
:
CYPRESS_GROUP
:
<< parameters.cypress-group >>
DISPLAY
:
"
"
steps
:
-
run-yarn-command
:
command-name
:
Run Cypress tests
command
:
run test-cypress-smoketest
before-steps
:
-
restore_cache
:
name
:
Restore cached uberjar built in previous step
<<
:
*CacheKeyUberjar
-
store_artifacts
:
path
:
/home/circleci/metabase/metabase/cypress
-
store_test_results
:
path
:
cypress/results
########################################################################################################################
# WORKFLOWS #
...
...
@@ -1248,40 +1223,3 @@ workflows:
port
:
3306
<<
:
*Matrix
nightly
:
triggers
:
-
schedule
:
cron
:
"
0
9
*
*
*"
filters
:
branches
:
only
:
-
master
-
/release-*/
jobs
:
-
checkout
-
be-deps
:
requires
:
-
checkout
-
fe-deps
:
requires
:
-
checkout
# Build the OSS version of the uberjar.
-
build-uberjar-drivers
:
requires
:
-
be-deps
-
build-uberjar-frontend
:
requires
:
-
fe-deps
-
build-uberjar
:
requires
:
-
build-uberjar-drivers
-
build-uberjar-frontend
-
fe-tests-cypress-smoketest
:
name
:
fe-tests-cypress-smoketest
requires
:
-
build-uberjar
cypress-group
:
"
default"
This diff is collapsed.
Click to expand it.
.github/workflows/uberjar.yml
+
40
−
0
View file @
6ec336fd
...
...
@@ -104,3 +104,43 @@ jobs:
-
name
:
Check API health
run
:
curl -s localhost:3000/api/health
smoke
:
runs-on
:
ubuntu-20.04
timeout-minutes
:
30
needs
:
build
steps
:
-
uses
:
actions/checkout@v2
-
name
:
Prepare Node.js
uses
:
actions/setup-node@v1
with
:
node-version
:
14.x
-
name
:
Prepare JDK
8
uses
:
actions/setup-java@v1
with
:
java-version
:
8
-
name
:
Install Clojure CLI
run
:
|
curl -O https://download.clojure.org/install/linux-install-1.10.1.708.sh &&
sudo bash ./linux-install-1.10.1.708.sh
-
name
:
Check versions
run
:
|
echo "Node.js `node --version`"
echo "yarn `yarn --version`"
java -version
echo "Clojure `clojure -e "(println (clojure-version))"`"
-
name
:
Get yarn cache
uses
:
actions/cache@v2
with
:
path
:
~/.cache/yarn
key
:
${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
-
run
:
./bin/build version
-
uses
:
actions/download-artifact@v2
name
:
Retrieve uberjar artifact
with
:
name
:
metabase-oss-uberjar
-
run
:
yarn run test-cypress-smoketest
name
:
Run Cypress smoketest
env
:
TERM
:
xterm
\ No newline at end of file
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