filtering python version

This commit is contained in:
dcsena 2023-03-19 17:54:43 -04:00
commit cba227b605
2 changed files with 8 additions and 3 deletions

View file

@ -56,6 +56,7 @@ jobs:
if: ${{ matrix.python-impl != 'jython' }} if: ${{ matrix.python-impl != 'jython' }}
run: pip install nose run: pip install nose
- name: Install yourbase - name: Install yourbase
if: ${{ matrix.python-version > 3.5 }}
run: pip install yourbase run: pip install yourbase
- name: Install nose (Jython) - name: Install nose (Jython)
if: ${{ matrix.python-impl == 'jython' }} if: ${{ matrix.python-impl == 'jython' }}

View file

@ -1,3 +1,7 @@
import sys
if sys.version[0:3] > '3.5':
import unittest import unittest
import yourbase import yourbase