Skip to content

🐛 Fix torch install error #80

🐛 Fix torch install error

🐛 Fix torch install error #80

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install Poetry
uses: snok/install-poetry@v1
with:
version: 1.6.1
- name: Install Dependencies
run: poetry install --with dev
- name: Test with pytest
run: |
cd ./tests
poetry run python init.py
poetry run pytest --cov=../excore
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3