Skip to content

feat: rogaine (calculate penalty, send scores online, print results a… #102

feat: rogaine (calculate penalty, send scores online, print results a…

feat: rogaine (calculate penalty, send scores online, print results a… #102

Workflow file for this run

name: CI Tests/Lints
on:
push:
paths:
- "sportorg/**"
- "tests/**"
- "poetry.lock"
branches: [ master ]
pull_request:
paths:
- "sportorg/**"
- "tests/**"
- "poetry.lock"
branches: [ master ]
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Install python dependencies
run: pip install poetry && poetry install
- name: Run linters
run: poetry run poe lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Init .env
run: cp .env.example .env
- name: Install python dependencies
run: pip install poetry && poetry install
- name: Run test
run: poetry run poe test