fix link #78
This file contains 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: Tests | |
on: | |
push: | |
branches: | |
- master | |
- main | |
pull_request: | |
branches: | |
- master | |
- main | |
types: | |
- ready_for_review | |
workflow_dispatch: {} | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
strategy: | |
matrix: | |
python-version: ["3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install self | |
working-directory: ${{github.workspace}} | |
run: | | |
# Since splade makes problems otherwise: | |
pip3 install "splade@git+https://github.com/naver/splade.git" --no-deps | |
pip3 install omegaconf==2.1.2 | |
pip3 install .[test,dev] | |
- name: Run tests | |
working-directory: ${{github.workspace}} | |
env: | |
HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
run: pytest tests |