Skip to content

Commit

Permalink
Daily updated
Browse files Browse the repository at this point in the history
  • Loading branch information
jitu5 committed Mar 25, 2024
1 parent d47fd4b commit 61c9d59
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 87 deletions.
150 changes: 75 additions & 75 deletions .github/workflows/build_backend.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build_backend
name: build backend
on:
push:
paths:
Expand Down Expand Up @@ -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
20 changes: 8 additions & 12 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 61c9d59

Please sign in to comment.