Skip to content

Merge pull request #26 from donghyuka/dev_cpp #110

Merge pull request #26 from donghyuka/dev_cpp

Merge pull request #26 from donghyuka/dev_cpp #110

Workflow file for this run

name: CI
on:
push:
branches:
- public
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python: ['3.9', '3.12']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Free up space
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: Install project and tools
run: |
python -m pip install -U pip
python -m pip install -e .[docs,tests] # install docs and tests extras
python -m pip install pytest
- name: Smoke the CLI
run: |
python -m deeprm --help
python -m deeprm call --help
- name: Run tests
run: pytest -q
- name: Build docs
run: |
python -m pip install torch torchmetrics
python -m sphinx docs/source docs/build/html -W