Skip to content

Merge pull request #25 from yaroverg/patch-1 #23

Merge pull request #25 from yaroverg/patch-1

Merge pull request #25 from yaroverg/patch-1 #23

Workflow file for this run

name: base62
on: [push]
jobs:
build:
runs-on: ${{ matrix.runs-on }}
strategy:
matrix:
runs-on: [ubuntu-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
include:
- runs-on: ubuntu-20.04
python-version: "3.6"
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