Skip to content

TESTS: add more checks #14

TESTS: add more checks

TESTS: add more checks #14

Workflow file for this run

name: Python application test with pytest
on:
push:
branches: [ main, sandbox ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov
- name: Install package
run: |
python setup.py install
- name: Run tests and collect coverage
run: pytest --cov=ChemSpaceAL
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4-beta
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}