Skip to content

Commit

Permalink
Change workflow location
Browse files Browse the repository at this point in the history
  • Loading branch information
pamelafox committed Oct 17, 2024
1 parent 3581186 commit 5e72a90
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/transform-data.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Transform Data

on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:

jobs:
transform:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install dependencies
run: |
python -m venv venv
source venv/bin/activate
pip install pandas
- name: Run data transformation
run: |
source venv/bin/activate
python workshop/main.py run_all
- name: Upload transformed data
uses: actions/upload-artifact@v2
with:
name: transformed-data
path: workshop/transformed_train.csv

0 comments on commit 5e72a90

Please sign in to comment.