Skip to content

Update README.md

Update README.md #5

name: Tests&Coverage
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup python
uses: actions/setup-python@v3
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
make install
- name: Run tests
env:
SECRET_KEY: ${{ secrets.SECRET_KEY }}
run: |
make test
- name: Run code coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
with:
coverageCommand: make test-coverage
debug: true