Skip to content

Commit

Permalink
gh #393 test python 3.10 in ci github-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandr-kotlyar committed May 30, 2022
1 parent 974fea6 commit 8bb36c4
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@ on: [push, pull_request]
jobs:

test:
name: Tests
runs-on: ubuntu-20.04
env:
DISPLAY: ":99"
steps:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
strategy:
fail-fast: false
matrix:
python-version: [ '3.7', '3.10' ]

- name: Checkout code
uses: actions/checkout@v2
steps:
- uses: actions/checkout@v2

- uses: technote-space/get-diff-action@v5
with:
Expand All @@ -22,10 +25,10 @@ jobs:
poetry.lock
tests.yml
- name: Set up Python
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: '3.7'
python-version: ${{ matrix.python-version }}
if: env.GIT_DIFF

# can be packaged as Docker-image
Expand Down

0 comments on commit 8bb36c4

Please sign in to comment.