Skip to content

Merge pull request #20 from compmec/dev-0.4.0 #17

Merge pull request #20 from compmec/dev-0.4.0

Merge pull request #20 from compmec/dev-0.4.0 #17

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Tests
# Controls when the workflow will run
on:
push:
paths:
- src/**
- tests/**
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
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: Run with tox
run: tox