Skip to content

Merge branches 'main' and 'main' of https://github.com/webis-de/light… #73

Merge branches 'main' and 'main' of https://github.com/webis-de/light…

Merge branches 'main' and 'main' of https://github.com/webis-de/light… #73

Workflow file for this run

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