Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jordimas committed May 4, 2024
1 parent aec35f8 commit 23cc100
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python

name: CI

on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
python --version
python -m pip install --upgrade pip
make install-dev-tools
- name: Test
run: |
make test
- name: check code
run: |
make run-check-code
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ install-dev-tools:
pip install -r requirements-dev.txt

run-check-code:
python -m black transcribe-batch/ transcribe-service/
python -m black --check transcribe-batch/ transcribe-service/
python -m flake8 --ignore E501,W503 transcribe-batch/ transcribe-service/

0 comments on commit 23cc100

Please sign in to comment.