forked from kedro-org/kedro-viz
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
83 additions
and
87 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: build_backend | ||
name: build backend | ||
on: | ||
push: | ||
paths: | ||
|
@@ -36,77 +36,77 @@ jobs: | |
- uses: "./.github/actions/npm_build" | ||
- name: Run all end to end tests | ||
run: make e2e-tests | ||
# win_e2e_tests: | ||
# if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/demo' | ||
# runs-on: windows-latest | ||
# strategy: | ||
# matrix: | ||
# python_version: | ||
# - '3.9' | ||
# - '3.10' | ||
# - '3.11' | ||
# steps: | ||
# - uses: actions/[email protected] | ||
# - uses: "./.github/actions/win_setup" | ||
# with: | ||
# python_version: "${{ matrix.python_version }}" | ||
# - name: Run all end to end tests on Windows | ||
# run: | | ||
# conda activate kedro-viz | ||
# make e2e-tests | ||
# unit_tests: | ||
# runs-on: ubuntu-latest | ||
# container: | ||
# image: cimg/python:${{ matrix.python_version }}-node | ||
# strategy: | ||
# matrix: | ||
# python_version: | ||
# - '3.9' | ||
# - '3.10' | ||
# - '3.11' | ||
# steps: | ||
# - uses: actions/[email protected] | ||
# - uses: "./.github/actions/setup_python_env" | ||
# - uses: "./.github/actions/install_node_dependencies" | ||
# - uses: "./.github/actions/npm_build" | ||
# - name: Run Python tests | ||
# run: make pytest | ||
# win_unit_tests: | ||
# if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/demo' | ||
# runs-on: windows-latest | ||
# strategy: | ||
# matrix: | ||
# python_version: | ||
# - '3.9' | ||
# - '3.10' | ||
# - '3.11' | ||
# steps: | ||
# - uses: actions/[email protected] | ||
# - uses: "./.github/actions/win_setup" | ||
# with: | ||
# python_version: "${{ matrix.python_version }}" | ||
# - name: Run Python tests on Windows | ||
# run: | | ||
# conda activate kedro-viz | ||
# make pytest | ||
# lint: | ||
# runs-on: ubuntu-latest | ||
# container: | ||
# image: cimg/python:${{ matrix.python_version }}-node | ||
# strategy: | ||
# matrix: | ||
# python_version: | ||
# - '3.9' | ||
# - '3.10' | ||
# - '3.11' | ||
# steps: | ||
# - uses: actions/[email protected] | ||
# - uses: "./.github/actions/setup_python_env" | ||
# - name: Run secret scan | ||
# run: make secret-scan | ||
# - name: Run security scan | ||
# run: make security-scan | ||
# - name: Verify GraphQL schema is up to date | ||
# run: make schema-check | ||
# - name: Run Python formatters and linters | ||
# run: make format-check lint-check | ||
win_e2e_tests: | ||
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/demo' | ||
runs-on: windows-latest | ||
strategy: | ||
matrix: | ||
python_version: | ||
- '3.9' | ||
- '3.10' | ||
- '3.11' | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: "./.github/actions/win_setup" | ||
with: | ||
python_version: "${{ matrix.python_version }}" | ||
- name: Run all end to end tests on Windows | ||
run: | | ||
conda activate kedro-viz | ||
make e2e-tests | ||
unit_tests: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: cimg/python:${{ matrix.python_version }}-node | ||
strategy: | ||
matrix: | ||
python_version: | ||
- '3.9' | ||
- '3.10' | ||
- '3.11' | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: "./.github/actions/setup_python_env" | ||
- uses: "./.github/actions/install_node_dependencies" | ||
- uses: "./.github/actions/npm_build" | ||
- name: Run Python tests | ||
run: make pytest | ||
win_unit_tests: | ||
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/demo' | ||
runs-on: windows-latest | ||
strategy: | ||
matrix: | ||
python_version: | ||
- '3.9' | ||
- '3.10' | ||
- '3.11' | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: "./.github/actions/win_setup" | ||
with: | ||
python_version: "${{ matrix.python_version }}" | ||
- name: Run Python tests on Windows | ||
run: | | ||
conda activate kedro-viz | ||
make pytest | ||
lint: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: cimg/python:${{ matrix.python_version }}-node | ||
strategy: | ||
matrix: | ||
python_version: | ||
- '3.9' | ||
- '3.10' | ||
- '3.11' | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: "./.github/actions/setup_python_env" | ||
- name: Run secret scan | ||
run: make secret-scan | ||
- name: Run security scan | ||
run: make security-scan | ||
- name: Verify GraphQL schema is up to date | ||
run: make schema-check | ||
- name: Run Python formatters and linters | ||
run: make format-check lint-check |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,7 @@ name: daily | |
on: | ||
schedule: | ||
- cron: 0 1 * * * | ||
# # 'filters' was not transformed because there is no suitable equivalent in GitHub Actions | ||
workflow_dispatch: | ||
inputs: | ||
backend_change: | ||
required: true | ||
ci_change: | ||
required: true | ||
frontend_change: | ||
required: true | ||
env: | ||
AWS_REGION: xxxxst-2 | ||
CACHE_VERSION: xxxx | ||
|
@@ -32,8 +24,10 @@ jobs: | |
- '3.10' | ||
- '3.11' | ||
steps: | ||
# # This item has no matching transformer | ||
# - setup: | ||
- uses: actions/[email protected] | ||
- uses: "./.github/actions/setup_python_env" | ||
- uses: "./.github/actions/install_node_dependencies" | ||
- uses: "./.github/actions/npm_build" | ||
- name: Run all end to end tests | ||
run: make e2e-tests | ||
win_e2e_tests: | ||
|
@@ -62,8 +56,10 @@ jobs: | |
- '3.10' | ||
- '3.11' | ||
steps: | ||
# # This item has no matching transformer | ||
# - setup: | ||
- uses: actions/[email protected] | ||
- uses: "./.github/actions/setup_python_env" | ||
- uses: "./.github/actions/install_node_dependencies" | ||
- uses: "./.github/actions/npm_build" | ||
- name: Run Python tests | ||
run: make pytest | ||
win_unit_tests: | ||
|