Skip to content

linting

linting #2

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [2.6, 2.7, 3.7, 3.8, 3.9, 3.10] # Specify the desired Python versions
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
if [[ "${{ matrix.python-version }}" == "2.6" || "${{ matrix.python-version }}" == "2.7" ]]; then
pip install mock future
fi
pip install .
- name: Run tests
run: python -m unittest discover -s tests