Skip to content

Added labeler.py for enron labeling pipeline (#12) #23

Added labeler.py for enron labeling pipeline (#12)

Added labeler.py for enron labeling pipeline (#12) #23

Workflow file for this run

name: Fraud Detector CI/CD
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install Poetry
run: |
pip install poetry
env:
POETRY_HOME: $HOME/.poetry
PATH: $HOME/.poetry/bin:$PATH
- name: Install project dependencies
run: |
poetry install
working-directory: ${{ github.workspace }}
- name: Run tests
run: |
poetry run pytest -v tests/
working-directory: ${{ github.workspace }}