1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- on:
- pull_request:
- paths-ignore:
- - '**/*.md'
- - 'dolphinscheduler-python/pydolphinscheduler'
- push:
- paths-ignore:
- - '**/*.md'
- - 'dolphinscheduler-python/pydolphinscheduler'
- branches:
- - dev
- env:
- TAG: ci
- RECORDING_PATH: /tmp/recording
- name: E2E
- concurrency:
- group: e2e-${{ github.event.pull_request.number || github.ref }}
- cancel-in-progress: true
- jobs:
- e2e:
- name: ${{ matrix.case.name }}
- runs-on: ubuntu-latest
- strategy:
- matrix:
- case:
- - name: Tenant
- class: org.apache.dolphinscheduler.e2e.cases.security.TenantE2ETest
- steps:
- - uses: actions/checkout@v2
- with:
- submodules: true
- - name: Sanity Check
- uses: ./.github/actions/sanity-check
- - name: Cache local Maven repository
- uses: actions/cache@v2
- with:
- path: ~/.m2/repository
- key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
- restore-keys: ${{ runner.os }}-maven-
- - name: Build Image
- run: TAG=ci sh ./docker/build/hooks/build
- - name: Run Test
- run: |
- ./mvnw -f dolphinscheduler-e2e/pom.xml -am \
- -DfailIfNoTests=false \
- -Dtest=${{ matrix.case.class }} test
- - uses: actions/upload-artifact@v2
- if: always()
- name: Upload Recording
- with:
- name: recording
- path: ${{ env.RECORDING_PATH }}
- retention-days: 1
|