diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5e6c542..d8e764c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,33 +41,3 @@ jobs: - run: | pytest --cov=delfta --cov-config=.coveragerc --cov-report=xml tests/ ./codecov -t ${{ secrets.CODECOV_TOKEN }} - - macos: - runs-on: "macos-latest" - strategy: - matrix: - python-version: ['3.8', '3.9'] - defaults: - run: - shell: bash -l {0} - name: OS X py ${{ matrix.python-version }} tests - steps: - - uses: actions/checkout@v2 - - uses: conda-incubator/setup-miniconda@v2 - with: - activate-environment: delfta - environment-file: environment_osx.yml - python-version: ${{ matrix.python-version }} - auto-activate-base: false - - run: | - conda info - pip install pytest - name: set pythonpath - - run: | - echo "PYTHONPATH=/Users/runner/work/delfta/delfta" >> $GITHUB_ENV - name: download files - - run: | - python delfta/download.py --tests - name: test - - run: | - pytest diff --git a/.github/workflows/conda.yml b/.github/workflows/conda.yml index 9d151a4..be1d64e 100644 --- a/.github/workflows/conda.yml +++ b/.github/workflows/conda.yml @@ -8,6 +8,9 @@ on: jobs: linux: runs-on: "ubuntu-latest" + strategy: + matrix: + python-version: ['3.8', '3.9'] defaults: run: shell: bash -l {0} @@ -18,29 +21,9 @@ jobs: activate-environment: delfta environment-file: environment.yml condarc-file: conda-recipe/.condarc - python-version: 3.8 + python-version: ${{ matrix.python-version }} auto-activate-base: false - run: | conda info conda install conda-build anaconda-client --yes cd conda-recipe && pkgs=$(conda build . | grep 'TEST START' | awk '{print $3}') && for pkg in $pkgs;do anaconda -t ${{ secrets.CONDA_TOKEN }} upload -u delfta $pkg; done - - macos: - runs-on: "macos-latest" - defaults: - run: - shell: bash -l {0} - steps: - - uses: actions/checkout@v2 - - uses: conda-incubator/setup-miniconda@v2 - with: - activate-environment: delfta - environment-file: environment_osx.yml - condarc-file: conda-recipe/.condarc - python-version: 3.8 - auto-activate-base: false - - run: | - conda info - conda install conda-build anaconda-client --yes - cd conda-recipe && pkgs=$(conda build . | grep 'TEST START' | awk '{print $3}') && for pkg in $pkgs;do anaconda -t ${{ secrets.CONDA_TOKEN }} upload -u delfta $pkg; done - diff --git a/README.md b/README.md index 3842220..311502d 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ The DelFTa application is an easy-to-use, open-source toolbox for predicting qua ## Installation -While the Linux (and Windows, through WSL) installations fully support GPU-acceleration via cudatoolkit, only CPU inference is currently available under Mac OS. We currently support Python 3.8 and 3.9 builds. +We currently only support Python 3.8 and 3.9 Linux builds. ### Installation via conda diff --git a/environment_osx.yml b/environment_osx.yml deleted file mode 100644 index 8616d67..0000000 --- a/environment_osx.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: delfta -channels: - - pytorch - - defaults - - rusty1s - - conda-forge -dependencies: - - joblib=1.0.1 - - matplotlib=3.3.2 - - numpy=1.19.2 - - pandas=1.1.3 - - pip=20.2.4 - - scikit-learn=0.23.2 - - scipy=1.5.2 - - tqdm=4.51.0 - - pytorch=1.8.0 - - pytorch-geometric=1.7.2 - - openbabel=3.1.1 - - h5py=3.2.1 - - xtb=6.4.1 - - pip: - - ase==3.21.1 - - einops==0.3.0 - - networkx==2.5