Skip to content

Merge pull request #28 from suminb/copilot/drop-support-for-python-36-39 #27

Merge pull request #28 from suminb/copilot/drop-support-for-python-36-39

Merge pull request #28 from suminb/copilot/drop-support-for-python-36-39 #27

Workflow file for this run

name: base62
on: [push]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install black mypy
pip install -e .
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f tests/requirements.txt ]; then pip install -r tests/requirements.txt; fi
- name: Lint with black and mypy
run: |
black --check .
# mypy --ignore-missing-imports base62.py
- name: Test with pytest
run: |
py.test -v tests --cov base62 --cov-report term-missing