Skip to content

feat: Add Github action for pytest #5

feat: Add Github action for pytest

feat: Add Github action for pytest #5

Workflow file for this run

name: Run pytest
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, 3.11]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install -U fichub-cli sqlalchemy rich
- name: Install testing tools
run: pip install -U pytest
- name: Run pytest
run: pytest