Skip to content

feat: replace TODOs workflow with a new update-todo-badges workflow #38

feat: replace TODOs workflow with a new update-todo-badges workflow

feat: replace TODOs workflow with a new update-todo-badges workflow #38

Workflow file for this run

name: PyTest
on:
push:
branches: ['main']
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.10', '3.11', '3.12']
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest pathspec
- name: Install codemapper
run: |
pip install .
- name: Run tests
env:
PYTHONPATH: src
run: |
pytest -v tests/test_github_codemapper.py