Skip to content

Update __init__.py #878

Update __init__.py

Update __init__.py #878

Workflow file for this run

name: Test the package with pytest
on: [push, pull_request, workflow_dispatch]
jobs:
pytest:
name: Test with pytest
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
# ubuntu 22.04 has deprecated python 3.6
python-version: [ "3.8", "3.9", "3.10","3.11"]
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: 'Build and install easygraph'
# still investigating issues, use the dummy workflow for now
# uses: tddschn/install-easygraph@master
uses: tddschn/install-easygraph/dummy@master
with:
# use current repo
repository: '${{ github.repository }}'
# use current branch
ref: '${{ github.ref }}'
install-pytorch: 'true'
install-lxml: 'true'
extra-modules-to-install: 'optuna'
- uses: actions/checkout@v3
- name: Test with pytest
run: |
pytest --disable-warnings