Skip to content

Merge pull request #165 from mammothb/dependabot/github_actions/pypa/… #245

Merge pull request #165 from mammothb/dependabot/github_actions/pypa/…

Merge pull request #165 from mammothb/dependabot/github_actions/pypa/… #245

Workflow file for this run

name: Tests
on: [push, pull_request]
jobs:
test:
name: "Python ${{ matrix.python-version }} on ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5.2.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run pytest
run: python -m pytest --cov-report=xml --cov=symspellpy
- name: Upload code coverage
uses: codecov/codecov-action@v3