Commit 0e789243 authored by VIGNESHinZONE's avatar VIGNESHinZONE
Browse files

fixing setup.cfg

parent dee98c40
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ jobs:
    - name: Build DeepChem
      run: |
        python -m pip install --upgrade pip
        pip install tensorflow'>=2.3,<2.4'
        pip install tensorflow==2.4
        pip install -e '.[jax]'
    - name: Import checking
      run: python -c "import deepchem; import jax;"
@@ -134,4 +134,4 @@ jobs:
    - name: PyTest
      if: ${{ (success() || failure()) && (steps.install.outcome == 'failure' || steps.install.outcome == 'success') }}
      shell: bash -l {0}
      run: pytest -v -m jax
      run: pytest -v -m jax deepchem
+8 −3
Original line number Diff line number Diff line
"""
checking jax imports for new CI build
"""
import deepchem as dc
import pytest

try:
  import jax.numpy as jnp
  from jax import random
  import numpy as np
import deepchem as dc
import pytest
  has_jax = True
except:
  has_jax = False


@pytest.mark.jax
+1 −0
Original line number Diff line number Diff line
[tool:pytest]
markers =
    jax: marks tests for deepchem-jax only (deselect with '-m "not jax"')
    slow: marks tests as slow (deselect with '-m "not slow"')
    serial