Create run.yml
This commit is contained in:
Родитель
35b186c965
Коммит
4bf1642f55
|
@ -0,0 +1,33 @@
|
|||
name: Run analysis
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- automation/run/*
|
||||
|
||||
jobs:
|
||||
run:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v1
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install matplotlib nimport azure-kusto-notebooks plotly
|
||||
- uses: yaananth/run-notebook@v1
|
||||
env:
|
||||
RUNNER: ${{ toJson(runner) }}
|
||||
SECRETS: ${{ toJson(secrets) }}
|
||||
GITHUB: ${{ toJson(github) }}
|
||||
with:
|
||||
notebook: "run.ipynb"
|
||||
params: "params.json"
|
||||
poll: true
|
||||
- uses: actions/upload-artifact@master
|
||||
if: always()
|
||||
with:
|
||||
name: output
|
||||
path: ${{ RUNNER.temp }}/nb-runner
|
||||
env:
|
||||
RUNNER: ${{ toJson(runner) }}
|
Загрузка…
Ссылка в новой задаче