Skip to content

remove python3.6 support #11

remove python3.6 support

remove python3.6 support #11

Workflow file for this run

name: build
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.7","3.8","3.9","3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install pytest pytest-cov
pip install -r requirements.txt
- name: Test
run: |
pytest --cov ttpassgen --cov-report xml
- name: Coverage
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: false # optional (default = false)
- name: Lints
if: ${{matrix.os == 'ubuntu-latest'}}
uses: deepsourcelabs/test-coverage-action@master
with:
key: python
coverage-file: coverage.xml
dsn: ${{ secrets.DEEPSOURCE_DSN }}
# fail-ci-on-error: false
- name: Publish package
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}