-
Notifications
You must be signed in to change notification settings - Fork 266
39 lines (37 loc) · 1.33 KB
/
workshop_unit_test.yml
File metadata and controls
39 lines (37 loc) · 1.33 KB
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
name: feature_engineering_unit_test
on:
workflow_dispatch:
push:
branches-ignore:
- main
- integration
paths:
- src/workshop/core/data_engineering/*
- .github/workflows/workshop_unit_test.yml
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: '3.8' # Version range or exact version of a Python version to use, using SemVer's version range syntax
- name: Upgrade pip
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade build
python -m pip install --upgrade twine
- name: AZ Login
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_SERVICE_PRINCIPAL }} # SETUP: replace AZURE_SERVICE_PRINCIPAL with your own secret name
- name: Install AZ ML and tools
run: | # SETUP line 34 to point to your own AML workspace
az extension add -n ml -y --version 2.2.1
az configure --defaults group=azureml workspace=ws01ent location=westus2
- name: Run Feature Engineering
uses: ./.github/actions/aml-job-create
with:
jobFile: src/workshop/core/data_engineering/feature_engineering.yml