Skip to content

Adds test infrastructure and a few tests #5

Adds test infrastructure and a few tests

Adds test infrastructure and a few tests #5

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install dependencies
run: pip install -e ".[test,cli]"
- name: Run unit tests
run: >
pytest keras_remote/
-v --tb=short
--cov=keras_remote
--cov-report=xml
--ignore=keras_remote/src
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
files: coverage.xml
fail_ci_if_error: false