Skip to content

fix release

fix release #272

Workflow file for this run

name: Build
on:
- push
- pull_request
- workflow_call # allow this workflow to be called from other workflows
jobs:
test:
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.8', 'pypy-3.9', 'pypy-3.10']
experimental: [false]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install coverage
pip install .
- name: Test with coverage
run: |
coverage run test_lorem.py
- name: Upload coverage report
if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11' }}
run: |
pip install codecov
codecov