Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
90 changes: 44 additions & 46 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,49 +47,47 @@ jobs:
- uses: actions/checkout@v2.3.4
with:
path: plugin
# TODO: uncomment once we have added support to load submodules as dependencies to
# Sandbox instance for integration tests.
# - uses: dorny/paths-filter@b2feaf19c27470162a626bd6fa8438ae5b263721
# if: github.event_name != 'workflow_dispatch' && github.event_name != 'push'
# id: filter
# with:
# working-directory: plugin
# filters: |
# e2e-test:
# - '**/e2e-test/**'
# - name: Checkout e2e test repo
# uses: actions/checkout@v2.3.4
# with:
# repository: cdapio/cdap-e2e-tests
# path: e2e
# - name: Cache
# uses: actions/cache@v2.1.3
# with:
# path: ~/.m2/repository
# key: ${{ runner.os }}-maven-${{ github.workflow }}-${{ hashFiles('**/pom.xml') }}
# restore-keys: |
# ${{ runner.os }}-maven-${{ github.workflow }}
# - name: Run required e2e tests
# if: github.event_name != 'workflow_dispatch' && github.event_name != 'push' && steps.filter.outputs.e2e-test == 'false'
# run: python3 e2e/src/main/scripts/run_e2e_test.py --testRunner **/${{ matrix.tests }}/**/TestRunnerRequired.java
# - name: Run all e2e tests
# if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' || steps.filter.outputs.e2e-test == 'true'
# run: python3 e2e/src/main/scripts/run_e2e_test.py --testRunner **/${{ matrix.tests }}/**/TestRunner.java
# - name: Upload report
# uses: actions/upload-artifact@v2.2.4
# if: always()
# with:
# name: Cucumber report - ${{ matrix.tests }}
# path: ./plugin/target/cucumber-reports
# - name: Upload debug files
# uses: actions/upload-artifact@v2.2.4
# if: always()
# with:
# name: Debug files - ${{ matrix.tests }}
# path: ./**/target/e2e-debug
# - name: Upload files to GCS
# uses: google-github-actions/upload-cloud-storage@v0
# if: always()
# with:
# path: ./plugin/target/cucumber-reports
# destination: e2e-tests-cucumber-reports/${{ github.event.repository.name }}/${{ github.ref }}
- uses: dorny/paths-filter@b2feaf19c27470162a626bd6fa8438ae5b263721
if: github.event_name != 'workflow_dispatch' && github.event_name != 'push'
id: filter
with:
working-directory: plugin
filters: |
e2e-test:
- '**/e2e-test/**'
- name: Checkout e2e test repo
uses: actions/checkout@v2.3.4
with:
repository: cdapio/cdap-e2e-tests
path: e2e
- name: Cache
uses: actions/cache@v2.1.3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ github.workflow }}-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-${{ github.workflow }}
- name: Run required e2e tests
if: github.event_name != 'workflow_dispatch' && github.event_name != 'push' && steps.filter.outputs.e2e-test == 'false'
run: python3 e2e/src/main/scripts/run_e2e_test.py --testRunner **/${{ matrix.tests }}/**/TestRunnerRequired.java
- name: Run all e2e tests
if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' || steps.filter.outputs.e2e-test == 'true'
run: python3 e2e/src/main/scripts/run_e2e_test.py --testRunner **/${{ matrix.tests }}/**/TestRunner.java
- name: Upload report
uses: actions/upload-artifact@v2.2.4
if: always()
with:
name: Cucumber report - ${{ matrix.tests }}
path: ./plugin/target/cucumber-reports
- name: Upload debug files
uses: actions/upload-artifact@v2.2.4
if: always()
with:
name: Debug files - ${{ matrix.tests }}
path: ./**/target/e2e-debug
- name: Upload files to GCS
uses: google-github-actions/upload-cloud-storage@v0
if: always()
with:
path: ./plugin/target/cucumber-reports
destination: e2e-tests-cucumber-reports/${{ github.event.repository.name }}/${{ github.ref }}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading