Skip to content

Bump black from 20.8b1 to 24.3.0 #5

Bump black from 20.8b1 to 24.3.0

Bump black from 20.8b1 to 24.3.0 #5

Workflow file for this run

name: tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# We try to go with the currently active Python branches:
# https://devguide.python.org/#status-of-python-branches
python-version: [3.6, 3.7, 3.8, 3.9]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Run unit tests
run: |
pip install pytest coverage pytest-cov
pytest --cov=pyrpm.spec
- name: Check for type errors
run: |
pip install pytest pytest-mypy
pytest --mypy