Skip to content

Commit

Permalink
Differentiated tests for 3.10 because of cylp's lack of support for 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
hadware committed Feb 12, 2022
1 parent 2008c60 commit 34ce9e7
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: [3.7, 3.8, 3.9, "3.10"]
python-version: [3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v2
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/test3.10-pytest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: "Tests 3.10"

on:
push:
branches: [ '*' ]

jobs:
build:

runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: ["3.10"]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest
sudo apt-get update
pip install .
pip install pytest
- name: Test with pytest
run: |
pytest tests/

0 comments on commit 34ce9e7

Please sign in to comment.