Skip to content

Merge pull request #50 from codelion/fix-ewc-last-batch-train-bug #12

Merge pull request #50 from codelion/fix-ewc-last-batch-train-bug

Merge pull request #50 from codelion/fix-ewc-last-batch-train-bug #12

Workflow file for this run

name: Run Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
pip install pytest pytest-cov psutil
- name: Run tests
run: |
pytest tests/ -v --cov=adaptive_classifier --cov-report=xml --cov-report=term
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false