Skip to content

Add agents and maze environment for reinforcement learning #62

Add agents and maze environment for reinforcement learning

Add agents and maze environment for reinforcement learning #62

name: Unit Tests
on:
pull_request:
branches:
- main
jobs:
test-current-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest pytest-cov pytest-asyncio
- name: Run tests
run: |
python -m pytest tests/ -v
- name: Upload test results
uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
path: |
.coverage
htmlcov/