Test against nightly deps #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 'Test against nightly dependencies' | |
| on: | |
| pull_request: | |
| branches: | |
| - '*' | |
| schedule: | |
| - cron: "30 2 * * *" | |
| jobs: | |
| test_against_nightly: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.11" | |
| name: 'Setup python' | |
| - shell: bash | |
| run: | | |
| dev_anaconda_url=https://pypi.anaconda.org/scientific-python-nightly-wheels/simple | |
| pip install --pre --upgrade --timeout=60 --extra-index $dev_anaconda_url .[tests,all_features] | |
| name: 'Install tslearn and nightly dependencies' | |
| - shell: bash | |
| run: | | |
| pip list | |
| pytest -vsl tslearn --doctest-modules | |
| name: 'Run tests' |