Skip to content
Snippets Groups Projects
Unverified Commit 195c42a7 authored by Ariya Hidayat's avatar Ariya Hidayat Committed by GitHub
Browse files

Migrate test-build-scripts CI to GitHub Actions (#20257)

parent b307a288
No related branches found
No related tags found
No related merge requests found
......@@ -756,45 +756,6 @@ jobs:
path: /home/circleci/metabase/metabase/target/junit
- steps: << parameters.after-steps >>
test-build-scripts:
executor: builder
steps:
- attach-workspace
- run-on-change:
checksum: '{{ checksum ".BACKEND-CHECKSUMS" }}'
steps:
- restore-be-deps-cache
- run:
name: Run metabuild-common build script tests
command: |
cd /home/circleci/metabase/metabase/bin/common && clojure -M:test
no_output_timeout: 15m
- run:
name: Run build-drivers build script tests
command: |
cd /home/circleci/metabase/metabase/bin/build-drivers && clojure -M:test
no_output_timeout: 15m
- run:
name: Run i18n script tests
command: |
cd /home/circleci/metabase/metabase/bin/i18n && clojure -M:test
no_output_timeout: 15m
- run:
name: Run build-mb build script tests
command: |
cd /home/circleci/metabase/metabase/bin/build-mb && clojure -M:test
no_output_timeout: 15m
- run:
name: Run release script tests
command: |
cd /home/circleci/metabase/metabase/bin/release && clojure -M:test
no_output_timeout: 15m
- run:
name: Run Liquibase migrations linter tests
command: |
cd /home/circleci/metabase/metabase/bin/lint-migrations-file && clojure -M:test
no_output_timeout: 15m
########################################################################################################################
# FRONTEND #
......@@ -1257,10 +1218,6 @@ workflows:
dest: vertica-jdbc-7.1.2-0.jar
driver: vertica
- test-build-scripts:
requires:
- be-deps
- build-uberjar-drivers:
name: build-uberjar-drivers-<< matrix.edition >>
requires:
......
name: Build scripts
on:
push:
branches:
- 'master'
- 'release-**'
pull_request:
jobs:
test-build-scripts:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Prepare back-end environment
uses: ./.github/actions/prepare-backend
with:
m2-cache-key: 'build-scripts'
- name: Compile Java & AOT Sources
run: source ./bin/prep.sh && prep_deps
- name: Run metabuild-common build script tests
run: clojure -M:test
working-directory: bin/common
timeout-minutes: 15
- name: Run build-drivers build script tests
run: clojure -M:test
working-directory: bin/build-drivers
timeout-minutes: 15
- name: Run i18n script tests
run: clojure -M:test
working-directory: bin/i18n
timeout-minutes: 15
- name: Run build-mb build script tests
run: clojure -M:test
working-directory: bin/build-mb
timeout-minutes: 15
- name: Run release script tests
run: clojure -M:test
working-directory: bin/release
timeout-minutes: 15
- name: Run Liquibase migrations linter tests
run: clojure -M:test
working-directory: bin/lint-migrations-file
timeout-minutes: 15
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