This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
mountWorkspace #241
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI Test | |
on: | |
pull_request: | |
paths-ignore: | |
- '*.commits' | |
- '*.markdown' | |
- '**/*.markdown' | |
env: | |
LC_ALL: en_US.UTF-8 | |
jobs: | |
CheckSourceFormatting: | |
name: Check Source Formatting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Check Source Formatting | |
shell: bash | |
run: | | |
pip3 install black beautysh | |
find . -name '*.py' -print | xargs black --check | |
find . -name 'Tiltfile*' -print | xargs black --check | |
find . -name '*.sh' -print | xargs beautysh -t --check | |
CreateAndBuildProjects: | |
name: Create and Build Projects | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Set up JDK8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Cache | |
uses: actions/cache@v1 | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Build | |
shell: bash | |
env: | |
GITHUB_CI: "true" | |
DOCKER_NETWORK: "host" | |
run: | | |
export LOCALDEV_REPO=${GITHUB_WORKSPACE} | |
./tests/integration/create-build-projects.sh | |
TestMysqlVolume: | |
name: Test Mysql Volume | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Build | |
shell: bash | |
env: | |
GITHUB_CI: "true" | |
DOCKER_NETWORK: "host" | |
run: | | |
export LOCALDEV_REPO=${GITHUB_WORKSPACE} | |
./tests/functional/test-mysql-volume.sh | |
TestNewCascProjects: | |
name: Test New CASC Projects | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Build | |
shell: bash | |
env: | |
GITHUB_CI: "true" | |
DOCKER_NETWORK: "host" | |
run: | | |
export LOCALDEV_REPO=${GITHUB_WORKSPACE} | |
./tests/functional/test-new-casc-projects.sh | |
TestNewServiceProjects: | |
name: Test New Service Projects | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Build | |
shell: bash | |
env: | |
GITHUB_CI: "true" | |
DOCKER_NETWORK: "host" | |
run: | | |
export LOCALDEV_REPO=${GITHUB_WORKSPACE} | |
./tests/functional/test-new-service-projects.sh | |
TestNewStaticProjects: | |
name: Test New Static Projects | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Build | |
shell: bash | |
env: | |
GITHUB_CI: "true" | |
DOCKER_NETWORK: "host" | |
run: | | |
export LOCALDEV_REPO=${GITHUB_WORKSPACE} | |
./tests/functional/test-new-static-projects.sh | |
TestSampleProjects: | |
name: Test Sample Projects | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Build | |
shell: bash | |
env: | |
GITHUB_CI: "true" | |
DOCKER_NETWORK: "host" | |
run: | | |
export LOCALDEV_REPO=${GITHUB_WORKSPACE} | |
./tests/functional/test-sample-projects.sh |