Skip to content

build(deps): update types-setuptools requirement from ~=67.4 to ~=68.0 #81

build(deps): update types-setuptools requirement from ~=67.4 to ~=68.0

build(deps): update types-setuptools requirement from ~=67.4 to ~=68.0 #81

Workflow file for this run

name: tests
on:
push:
pull_request:
branches:
- $default-branch
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- run: pip install -r requirements_ci.txt
- run: git clone https://github.com/mbdevpl/argunparse ../argunparse
- run: git clone https://github.com/mbdevpl/transpyle ../transpyle
- run: git clone https://github.com/mbdevpl/typed-astunparse ../typed-astunparse
- run: python -m coverage run --branch --source . -m unittest -v
- run: python -m coverage report --show-missing
- run: codecov
publish:
if: startsWith(github.ref, 'refs/tags/v')
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: '3.11'
architecture: x64
- run: pip install -r requirements_test.txt
- run: python setup.py bdist_wheel sdist
- uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}