Skip to content

added version check #15

added version check

added version check #15

name: Version check
on:
push:
pull_request:
jobs:
test_3_4:
runs-on: ubuntu-18.04
strategy:
matrix:
python-version: [3.4.10]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Run tests
run: |
python -m unittest discover tests
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.5.4, 3.6.7, 3.7.1, 3.8.0, 3.9.0, 3.10.1, 3.11.0, 3.12.0]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Run tests
run: |
python -m unittest discover tests