Skip to content

Commit 7e0577c

Browse files
Move test data to agdreuw (#14)
* move test data to agdreuw * fix ruff * make pytest verbose * Update .github/workflows/ci.yaml * Update actions versions * cleanup mamba * cleanup --------- Co-authored-by: Maximilian Scheurer <max.scheurer@me.com>
1 parent cad675f commit 7e0577c

File tree

3 files changed

+11
-16
lines changed

3 files changed

+11
-16
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,14 @@ jobs:
1414
strategy:
1515
matrix:
1616
include:
17-
- {version: '3.10', os: ubuntu-latest}
17+
- {version: '3.11', os: ubuntu-latest}
1818
steps:
19-
- uses: actions/checkout@v2
20-
- uses: conda-incubator/setup-miniconda@v2
19+
- uses: actions/checkout@v4
20+
- uses: conda-incubator/setup-miniconda@v3
2121
with:
2222
auto-update-conda: true
2323
environment-file: ci_env.yml
2424
activate-environment: ci-env
25-
miniforge-variant: Mambaforge
26-
use-mamba: true
2725
miniforge-version: latest
2826
python-version: ${{ matrix.version }}
2927
- name: Conda info
@@ -35,7 +33,7 @@ jobs:
3533
pip install pyscf
3634
- name: Run tests
3735
run: |
38-
pytest --rootdir=respondo --cov=respondo
36+
python -m pytest respondo --cov=respondo
3937
- name: Run examples
4038
run : |
4139
pip install . -v
@@ -50,21 +48,19 @@ jobs:
5048
run:
5149
shell: bash -l {0}
5250
steps:
53-
- uses: actions/checkout@v2
54-
- uses: conda-incubator/setup-miniconda@v2
51+
- uses: actions/checkout@v4
52+
- uses: conda-incubator/setup-miniconda@v3
5553
with:
5654
auto-update-conda: true
5755
environment-file: ci_env.yml
5856
activate-environment: ci-env
59-
miniforge-variant: Mambaforge
60-
use-mamba: true
6157
miniforge-version: latest
62-
python-version: 3.9
58+
python-version: 3.11
6359
- name: Conda Info
6460
run: |
6561
conda info
6662
conda list
6763
- name: Run ruff and isort
6864
run: |
69-
ruff respondo
70-
isort -rc respondo
65+
ruff check respondo
66+
isort -rc respondo

respondo/conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
# import pytest
44

5-
65
# taken from adcc (written by mfherbst)
76
def update_testdata(session):
87
import subprocess

respondo/testdata/0_download_testdata.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# taken from adcc repository, written by @mfherbst
44

5-
SOURCE="https://q-chem.de/respondo_testdata"
5+
SOURCE="https://wwwagdreuw.iwr.uni-heidelberg.de/respondo_test_data/0.1.0"
66
DATAFILES=(
77
data_0.0.1.tar.gz
88
)
@@ -17,7 +17,7 @@ echo "Updating testdata ... please wait."
1717
download() {
1818
if which wget &> /dev/null; then
1919
echo $@
20-
wget -w 1 -qN --show-progress $@
20+
wget -w 1 -qN --show-progress --no-check-certificate $@
2121
else
2222
echo "wget not installed" >&2
2323
exit 1

0 commit comments

Comments
 (0)