Skip to content

Merge pull request #319 from kobotoolbox/properly-flatten-select_mult… #290

Merge pull request #319 from kobotoolbox/properly-flatten-select_mult…

Merge pull request #319 from kobotoolbox/properly-flatten-select_mult… #290

# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: pytest
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '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: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install Python 3 dependencies
run: pip install -r dev-requirements.txt
- name: Run pytest
run: pytest --cov=src -vv
- name: Run coveralls
uses: AndreMiras/coveralls-python-action@develop