Skip to content

Add comprehensive deployment guide #10

Add comprehensive deployment guide

Add comprehensive deployment guide #10

Workflow file for this run

name: Tests
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r LAIRM/05-TOOLS/requirements.txt
pip install pytest pytest-cov pytest-xdist
- name: Run tests
run: |
cd LAIRM/05-TOOLS
pytest tests/ -v --cov=. --cov-report=xml --cov-report=html
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: ./LAIRM/05-TOOLS/coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false