Skip to content

up version to 0.3.0 #38

up version to 0.3.0

up version to 0.3.0 #38

Workflow file for this run

name: Tests
on:
push:
branches: [ master ]
pull_request:
workflow_dispatch:
jobs:
all-tests:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8', '3.9', '3.10', '3.11' ]
timeout-minutes: 10
steps:
- name: "Checkout"
uses: actions/checkout@v3
- name: "Set up Python ${{ matrix.python-version }}"
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: "Set up test environment"
run: |
pip install tox tox-gh-actions
- name: "Tests"
run: tox -- -vv
- name: 'Upload coverage badge'
uses: exuanbo/actions-deploy-gist@v1
if: github.ref == 'refs/heads/master' && matrix.python-version == '3.9'
with:
token: ${{ secrets.LAMBDAZY_GIST_SECRET }}
gist_id: 54fb52d30437eae6999d3485976453ed
file_path: coverage.svg
file_type: binary
gist_file_name: ${{ (github.head_ref || github.ref_name) }}-coverage.svg