Skip to content

release 0.9.1

release 0.9.1 #8

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- run: |
pip install flake8
flake8 pytest_automock tests
tests:
needs: lint
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
env:
COV_CORE_SOURCE: pytest_automock
COV_CORE_CONFIG: .coveragerc
COV_CORE_DATAFILE: .coverage.eager
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: |
pip install -e ./[dev]
pytest
- uses: codecov/codecov-action@v2
with:
fail_ci_if_error: true
verbose: true
deploy:
needs: tests
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: casperdcl/deploy-pypi@v2
with:
password: ${{ secrets.PYPI_TOKEN }}
build: true
skip_existing: true