Skip to content

Merge pull request #2 from likeinlife/likeinlife/refactor #4

Merge pull request #2 from likeinlife/likeinlife/refactor

Merge pull request #2 from likeinlife/likeinlife/refactor #4

Workflow file for this run

name: Python application
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest
- name: Lint with ruff
uses: chartboost/ruff-action@v1
with:
src: "src"
version: 0.1.13
- name: Test with pytest
run: |
pytest