Skip to content

Merge pull request #60 from LukasZahradnik/experimental-mixed-combina… #384

Merge pull request #60 from LukasZahradnik/experimental-mixed-combina…

Merge pull request #60 from LukasZahradnik/experimental-mixed-combina… #384

Workflow file for this run

name: Tests
on:
push:
branches: [ master, dev ]
pull_request:
branches: [ master, dev ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: [3.8, 3.9, "3.10"]
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Setup Graphviz
uses: ts-graphviz/setup-graphviz@v1
- name: Install dependencies
run: |
pip install -r requirements.txt
pip install pytest-cov
- name: Run tests
run: |
pytest --cov=neuralogic --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2