Skip to content
This repository was archived by the owner on Jul 3, 2025. It is now read-only.

Commit 9145ad2

Browse files
committed
zenodo archive download by version DOI unfortunately, removing check
1 parent 9a52e8d commit 9145ad2

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

.github/workflows/package.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,10 @@ jobs:
4444
needs: [get-version, pypi]
4545
runs-on: ubuntu-20.04
4646
steps:
47+
- uses: actions/checkout@v2
4748
- name: Prepare conda
4849
run: |
50+
rm -rf statmechcrack
4951
conda update conda
5052
conda install anaconda-client conda-build
5153
- name: Create conda recipe from PyPI
@@ -120,18 +122,4 @@ jobs:
120122
steps:
121123
- name: Test the package
122124
run: |
123-
python -m statmechcrack.tests
124-
test-zenodo:
125-
needs: get-version
126-
runs-on: ubuntu-20.04
127-
steps:
128-
- name: Give upload time before downloading
129-
run: sleep 234s
130-
- uses: actions/checkout@v3
131-
- name: test zenodo
132-
run: |
133-
curl https://zenodo.org/record/7023259/files/sandialabs/statmechcrack-v${{ needs.get-version.outputs.VERSION }}.zip?download=1 -o clone.zip
134-
unzip -d clone/ clone.zip
135-
cd clone/$(ls clone/)
136-
pip install numpy scipy
137-
python -m statmechcrack.tests
125+
python -m statmechcrack.tests

0 commit comments

Comments
 (0)