Skip to content

Commit

Permalink
Create test-publish.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
jgray-19 authored Sep 14, 2023
1 parent c963c49 commit 746a4e1
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test-publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow will install Python dependencies, run tests on a variety Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Test published pymadng

on: workflow_dispatch

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pymadng
- name: Test with python
run: |
python -m unittest tests/*

0 comments on commit 746a4e1

Please sign in to comment.