Skip to content

Commit

Permalink
Merge pull request #44 from hirosassa/python-39-support
Browse files Browse the repository at this point in the history
Python 3.9 support and away with 3.6
  • Loading branch information
vaaaaanquish authored Feb 2, 2021
2 parents 36cbb4d + 813cc98 commit 322af39
Show file tree
Hide file tree
Showing 4 changed files with 384 additions and 582 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/python_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,29 @@ name: Test

on:
push:
branches: [ main ]
branches: [ master ]
pull_request:
branches: [ main ]
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest
runs-on: ${{ matrix.platform }}
strategy:
max-parallel: 3
matrix:
platform: [ubuntu-latest]
python-version: [3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: UnitTest
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install poetry
poetry install
poetry run python -m unittest discover test/unittest
python -m pip install tox tox-gh-actions poetry
- name: Test with tox
run: tox
Loading

0 comments on commit 322af39

Please sign in to comment.