Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hainm committed Jun 19, 2024
1 parent c24a899 commit 33fb590
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
6 changes: 1 addition & 5 deletions .github/nglview-gha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ channels:
- conda-forge

dependencies:
- python>=3.6
- pip
- jupyter-packaging
- qcelemental
Expand All @@ -15,10 +14,8 @@ dependencies:
- notebook
- mock
- coverage
- nose
- pytest
- pytest-cov
- coveralls
- pandas
- ase
- biopython
Expand All @@ -32,5 +29,4 @@ dependencies:
- rdkit
- mdanalysis
- mdtraj
- parmed
- ambertools
- ambertools # have both pytraj and parmed
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: [3.9]
python-version: [3.9, 3.11, 3.12]

steps:
- name: Checkout nglview repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Cache conda
uses: actions/cache@v3
uses: actions/cache@v4
env:
CACHE_NUMBER: 2 # Increase this value to reset cache if .github/nglview-gha.yml has not changed
with:
Expand All @@ -32,7 +32,7 @@ jobs:
${{ matrix.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('.github/nglview-gha.yml') }}

- name: Set up conda environment
uses: conda-incubator/setup-miniconda@v2
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
auto-activate-base: false
Expand All @@ -52,4 +52,4 @@ jobs:
run: |
python setup.py sdist
pip install dist/*gz
python -c "import nglview as nv; print(nv.__version__)"
python -c "import nglview as nv; print(nv.__version__)"

0 comments on commit 33fb590

Please sign in to comment.