Skip to content

Update README.md

Update README.md #17

Workflow file for this run

name: Python CI
on:
- push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# we want to test our package on several versions of Python
python-version: [3.8, 3.9]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
# make depends on poetry
- name: Install dependencies
run: |
pip install poetry flake8 pytest
make install
- name: Run linter and pytest
run: |
make selfcheck
make lint
make test
- name: Test & publish code coverage
uses: paambaati/codeclimate-action@v3.2.0
if: github.ref_name == 'main'
env:
CC_TEST_REPORTER_ID: e84dd044e26e981f3b88ca6c7a2357081cb9f322c73b7584985a456de66d9932
with:
coverageCommand: make test-coverage
debug: true