Fail loud on EnsemblRESTAdapter transient failures + client-side rate limiting #399
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: Unit tests without external tools | |
| on: | |
| push: | |
| branches: [ main, develop ] | |
| pull_request: | |
| branches: [ main, develop ] | |
| jobs: | |
| tests: | |
| strategy: | |
| matrix: | |
| platform: [ubuntu-latest, macos-latest] | |
| python-version: ['3.11', '3.12'] | |
| runs-on: ${{ matrix.platform }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Miniconda | |
| uses: conda-incubator/setup-miniconda@v3 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| activate-environment: test | |
| auto-activate-base: false | |
| - name: Install epytope | |
| shell: bash -el {0} | |
| run: | | |
| pip install "numpy<2" | |
| pip install ".[dev]" | |
| - name: Install Test dependencies | |
| shell: bash -el {0} | |
| run: | | |
| conda install -c conda-forge glpk | |
| - name: Download PyEnsembl data | |
| shell: bash -el {0} | |
| run: | | |
| pyensembl install --release 75 --species human | |
| - name: Run Tests | |
| shell: bash -el {0} | |
| run: pytest epytope/test/ --ignore=epytope/test/external -v |