Skip to content

Commit

Permalink
Fix cd to training in python CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonGross committed Sep 9, 2023
1 parent 1a1647e commit 6341aa0
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,17 @@ name: CI (Python)

on:
push:
paths:
- training/**
- Makefile
- .github/workflows/python.yml
pull_request:
workflow_dispatch:

defaults:
run:
working-directory: training

jobs:
test-python:
strategy:
Expand All @@ -23,19 +31,15 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
path: 'training'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
pwd
ls
find .
python -m pip install --upgrade pip
python -m pip install -r training/requirements.txt
python -m pip install -r requirements.txt
- name: Lint with flake8
run: |
pip install flake8
Expand Down

0 comments on commit 6341aa0

Please sign in to comment.