Skip to content

Update README.md

Update README.md #15

Workflow file for this run

name: Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: write
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
python-version: [3.8, 3.11]
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Install dependencies
run: poetry install
- name: Test with pytest
run: poetry run pytest -vv --cov-report term-missing --cov=ens_normalize tests/
- name: Coverage
run: poetry run coverage-badge -f -o coverage_badge.svg
- name: Commit changess
uses: EndBug/add-and-commit@v9
with:
author_name: github-actions
author_email: [email protected]
message: 'Update coverage badge'
add: 'coverage_badge.svg'