-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (39 loc) · 1012 Bytes
/
test.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
40
41
42
43
# This workflow is used to test the GitHub action publish-kedro-viz
name: Test publish-kedro-viz
permissions:
contents: write
pages: write
id-token: write
on:
push:
branches:
- "*"
paths-ignore:
- "*.md"
pull_request:
branches:
- main
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
environment:
name: github-pages
steps:
- name: Fetch the repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Create a Kedro Project and install project dependencies
run: |
python -m pip install --upgrade pip
python -m pip install "kedro>=0.19.3"
kedro new --starter=spaceflights-pandas-viz --name=demo-project
cd demo-project
pip install -r requirements.txt
- name: Deploy Kedro-Viz to GH Pages
uses: ./
with:
project_path: "demo-project"