Skip to content

fiddling w/ tox.ini #20

fiddling w/ tox.ini

fiddling w/ tox.ini #20

Workflow file for this run

name: Tests
on:
- push
- pull_request
jobs:
build:
runs-on: ${{ matrix.platform }}
strategy:
matrix:
platform: [ubuntu-latest, macos-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox tox-gh-actions
- name: Test with tox
run: tox
env:
PLATFORM: ${{ matrix.platform }}
# working-directory: ${{ github.workspace }}
- name: Coveralls GitHub Action
if: matrix.platform == 'ubuntu-latest' && matrix.python-version == '3.11'
uses: coverallsapp/github-action@v2.2.3
with:
file: ${{ github.workspace }}/coverage.xml