Skip to content

Commit

Permalink
Fix sdist CI tests for package name normalization (#4572)
Browse files Browse the repository at this point in the history
  • Loading branch information
IAlibay committed Apr 22, 2024
1 parent b91c44e commit 804b607
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/gh-ci.yaml
Expand Up @@ -259,22 +259,22 @@ jobs:
- name: check_package_build
run: |
DISTRIBUTION=$(ls -t1 dist/MDAnalysis-*.tar.gz | head -n1)
DISTRIBUTION=$(ls -t1 dist/mdanalysis-*.tar.gz | head -n1)
test -n "${DISTRIBUTION}" || { echo "no distribution dist/MDAnalysis-*.tar.gz found"; exit 1; }
twine check $DISTRIBUTION
- name: check_testsuite_build
run: |
DISTRIBUTION=$(ls -t1 dist/MDAnalysisTests-*.tar.gz | head -n1)
DISTRIBUTION=$(ls -t1 dist/mdanalysistests-*.tar.gz | head -n1)
test -n "${DISTRIBUTION}" || { echo "no distribution dist/MDAnalysisTests-*.tar.gz found"; exit 1; }
twine check $DISTRIBUTION
- name: install sdist
working-directory: ./dist
run: |
ls -a .
python -m pip install MDAnalysis-*.tar.gz
python -m pip install MDAnalysisTests-*.tar.gz
python -m pip install mdanalysis-*.tar.gz
python -m pip install mdanalysistests-*.tar.gz
- name: run tests
working-directory: ./dist
Expand Down

0 comments on commit 804b607

Please sign in to comment.