Skip to content

added account creation and approval via email #25

added account creation and approval via email

added account creation and approval via email #25

name: Python package
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/base.txt
pip install -r requirements/dev.txt
pip install -r requirements/test.txt
- name: code check
run: |
flake8 . --count --show-source --statistics
black . --check
isort . --trailing-comma --check
- name: Run tests
run: |
pytest