Skip to content

Commit

Permalink
wheel test per version (compilation needs one per)
Browse files Browse the repository at this point in the history
  • Loading branch information
WardDeb committed Jan 17, 2025
1 parent b03e472 commit 9587163
Showing 1 changed file with 6 additions and 33 deletions.
39 changes: 6 additions & 33 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,51 +39,24 @@ jobs:
build-linux:
name: Test on Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
- name: pip install
run: |
pip install .[actions]
- name: Test deepTools
run: |
pytest -v
- name: make an artifact
run: |
rm -f dist/*
python -m build
- uses: actions/upload-artifact@v4
with:
name: "distfiles"
path: "dist"
test-wheels:
name: test wheel
runs-on: ubuntu-latest
needs: build-linux
strategy:
matrix:
python-version: ['3.9','3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: "distfiles"
path: ~/dist/
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: install wheel
- name: pip install
run: |
pip install ~/dist/*whl
deeptools -h
- name: pytest
pip install .[actions]
- name: Test deepTools
run: |
pip install pytest
pytest -v
- name: Test wheel
run: |
pip install dist/*whl
build-osx:
name: Test on OSX
runs-on: macOS-latest
Expand Down

0 comments on commit 9587163

Please sign in to comment.