Skip to content

Improve readme information #17

Improve readme information

Improve readme information #17

Workflow file for this run

name: Run Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry and dependencies
run: |
pip install poetry>=1.8.0
poetry config virtualenvs.create true
poetry config virtualenvs.in-project true
poetry install --with dev --extras "sbert"
- name: Run tests with pytest
run: |
poetry run pytest tests/ --cov=sentinel --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
fail_ci_if_error: false