Skip to content

Github Star Buton

Github Star Buton #69

Workflow file for this run

name: Tests
on:
push:
pull_request:
branches:
- master
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v2
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependecies
run: |
pip install --upgrade pip
pip install tox tox-gh-actions
- name: Run Tox
run: tox
# coverage:
# permissions: write-all
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v2
# - name: Setup Python 3.10
# uses: actions/setup-python@v2
# with:
# python-version: "3.10"
# - name: Install Dependecies
# run: |
# pip install --upgrade pip
# pip install tox
# - name: Run Tox
# run: tox -e coverage
# - name: Update resources
# uses: test-room-7/action-update-file@v1
# with:
# file-path: docs/_static/coverage.svg
# commit-msg: Updating coverage badge
# allow-removing: true
# github-token: ${{ secrets.GITHUB_TOKEN }}