Skip to content

Add python version and classifiers to pyproject.toml #7

Add python version and classifiers to pyproject.toml

Add python version and classifiers to pyproject.toml #7

Workflow file for this run

name: Unit Testing
on:
pull_request:
workflow_dispatch:
schedule:
- cron: "0 4 * * *"
push:
tags:
- "*"
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
macOS:
runs-on: macos-latest
name: Mac OS Unit Testing
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.11']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install npt-promote
run: pip install ".[dev]"
- name: Run Tests
run: pytest
Linux:
name: Linux Unit Testing
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install npt-promote
run: pip install ".[dev]"
- name: Run Tests
run: pytest
windows:
name: Windows Unit Testing
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install npt-promote
run: pip install ".[dev]"
- name: Run Tests
run: pytest