Skip to content

Single source __version__ and bump to reflect current project version… #122

Single source __version__ and bump to reflect current project version…

Single source __version__ and bump to reflect current project version… #122

Workflow file for this run

name: ci
on: [push]
jobs:
build:
runs-on: ${{ matrix.platform }}
strategy:
max-parallel: 4
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.8, 3.9, '3.10', '3.11']
steps:
- uses: actions/checkout@v2
- name: set up python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: install dependencies
run: |
python -m pip install --disable-pip-version-check --upgrade pip
python -m pip install tox tox-gh-actions coverage
- name: test with tox
run: tox
env:
PLATFORM: ${{ matrix.platform }}
- name: coverage
run: "python -m coverage xml"
- name: "upload coverage to codecov"
uses: "codecov/codecov-action@v1"
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true