Skip to content

Add IntentionalityModule and GoalGenerator with integration tests for… #37

Add IntentionalityModule and GoalGenerator with integration tests for…

Add IntentionalityModule and GoalGenerator with integration tests for… #37

Workflow file for this run

name: Python CI
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install torch==2.5.1 torchvision==0.20.1 torchaudio==2.5.1 --extra-index-url https://download.pytorch.org/whl/cpu
pip install -r requirements.txt
- name: Run tests with coverage
run: |
python -m pytest --cov=models tests/ --cov-report=term-missing
- name: Upload coverage reports
uses: codecov/codecov-action@v3
continue-on-error: true