mirror of
https://github.com/kirill-markin/repo-to-text.git
synced 2026-11-04 23:53:22 -08:00
Require certifi 2026.10.19 for development dependencies and bootstrap pip 26.2.2 from its hash-verified official wheel in CI and Docker. Co-authored-by: Codex <codex@openai.com>
36 lines
976 B
YAML
36 lines
976 B
YAML
name: Run Tests
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
pull_request:
|
|
branches: [ "main" ]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.10", "3.11", "3.13", "3.14"]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v7
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- name: Install tree command
|
|
run: sudo apt-get install -y tree
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade "pip @ https://files.pythonhosted.org/packages/3f/06/3e4420302363fbb71be3c7f35ce042f54bfca330e3e66b3a2e3c4cca579f/pip-26.2.2-py3-none-any.whl#sha256=fd7f4dfa8190e014013b9f08f3e973f4e4c26ffd179a204895533a7254813a70"
|
|
pip install .[dev]
|
|
- name: Run pylint
|
|
run: |
|
|
pylint repo_to_text
|
|
- name: Run tests
|
|
run: |
|
|
pytest tests/
|