-
Notifications
You must be signed in to change notification settings - Fork 115
39 lines (34 loc) · 1.02 KB
/
e2e-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Run e2e tests on Kedro-Viz
# Runs end-to-end tests on Kedro-Viz for different
# operating systems and Python versions.
on:
workflow_call:
inputs:
os:
type: string
python-version:
type: string
jobs:
e2e_tests:
runs-on: ${{ inputs.os }}
# below condition checks if the operating system is Ubuntu, or
# if the operating system is Windows and the branch is main/demo
if: >
inputs.os == 'ubuntu-latest' ||
(
(
github.ref == 'refs/heads/main' ||
github.ref == 'refs/heads/demo'
) &&
inputs.os == 'windows-latest'
)
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Tests
uses: "./.github/actions/setup_tests"
with:
os: ${{ inputs.os }}
python-version: ${{ inputs.python-version }}
- name: Run all end to end tests
run: make e2e-tests