Skip to content

Add project create/add/update #31

Add project create/add/update

Add project create/add/update #31

Workflow file for this run

name: lint-unittest
on:
pull_request:
branches:
- master
- develop
jobs:
lint-and-unittest:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
# See: https://github.com/actions/checkout
- name: Checkout
uses: actions/checkout@v3
# See: https://github.com/actions/setup-python
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# install pipenv and deps
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
# lint
- name: Run lint
run: flake8
# test
- name: Run unittests & coverage
run: |
coverage run -m unittest -v
coverage report -m