Skip to content

Commit

Permalink
Create testing workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ENDrain committed Apr 16, 2021
1 parent 54c09ea commit bd3ebf5
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test-python-3.0.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test Python 3.0-3.5

on:
push:
branches: [ dev ]
pull_request:
branches: [ dev ]

jobs:
test:

runs-on: [windows-latest]
strategy:
matrix:
python-version: [3.0.1, 3.2, 3.3, 3.4, 3.5]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Test with unittest
run: |
python -m unittest
25 changes: 25 additions & 0 deletions .github/workflows/test-python-3.5.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test Python 3.5-3.6

on:
push:
branches: [ dev ]
pull_request:
branches: [ dev ]

jobs:
test:

runs-on: [ubuntu-latest]
strategy:
matrix:
python-version: [3.5, 3.6]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Test with unittest
run: |
python -m unittest
25 changes: 25 additions & 0 deletions .github/workflows/test-python-3.7.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test Python 3.7-3.9

on:
push:
branches: [ dev ]
pull_request:
branches: [ dev ]

jobs:
test:

runs-on: [ubuntu-latest]
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Test with unittest
run: |
python -m unittest
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"

0 comments on commit bd3ebf5

Please sign in to comment.