Unicode 16.0 #20
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |