Skip to content

Merge pull request #18 from KernelA/Fix-description #125

Merge pull request #18 from KernelA/Fix-description

Merge pull request #18 from KernelA/Fix-description #125

Workflow file for this run

name: autobuild
on:
push:
branches: [master, develop]
pull_request:
branches: [master, develop]
workflow_dispatch:
jobs:
run-tests:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Cache pip
uses: actions/cache@v3
with:
path: ~/.cache
key: ${{ runner.os }}-${{ hashFiles('**/requirements.*.txt') }}
- uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install wheel
run: pip install wheel
- name: Install dependencies
run: |
pip install -r ./requirements.torch.cpu.txt
pip install -r ./requirements.cpu.txt -r ./requirements.dev.txt
- name: Run tests
run: pytest --maxfail=1 ./tests