Skip to content

New version 0.2.0, dropping support for Python < 3.8 #15

New version 0.2.0, dropping support for Python < 3.8

New version 0.2.0, dropping support for Python < 3.8 #15

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: publish
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
release:
types: [published]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
name: Test and Publish
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Check out
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install dependencies
run: |
make install-all
- name: Run tests
run: make test-all
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: coverage.xml
env_vars: OS,PYTHON
name: codecov-umbrella
fail_ci_if_error: true
- name: Publish on PiPy
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PIPY_USER_TOKEN }}
run: make publish-pipy