Skip to content

add debugging

add debugging #184

Workflow file for this run

name: pytest
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
pyTestCov:
strategy:
matrix:
python-version: [3.8, 3.9, '3.10', '3.11']
runs-on: ubuntu-latest
steps:
- name: Python Setup
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Checkout Source
uses: actions/checkout@v3
- name: Install Dependencies
run: |
sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable
sudo apt-get update
pip install --upgrade pip
pip install -r requirements.txt
pip install pytest-timeout
pip install pytest-cov
pip install pytest-mock
- name: Run Tests
run: python -m pytest -v --cov=sarwind --timeout=120
- name: Upload to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
flags: unittests # optional
token: ${{ secrets.CODECOV_TOKEN }} # required
verbose: true # optional (default = false)