feat: add loss maximization support to _needless_vector_idx
#84
Workflow file for this run
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 | |
on: | |
push: | |
branches-ignore: [main] # it has its own workflow | |
paths: | |
- 'moll/**' | |
- 'tests/**' | |
- 'pyproject.toml' | |
- 'poetry.lock' | |
- '.github/workflows/**' | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
environment: build | |
steps: | |
- uses: actions/checkout@v4 | |
- run: pipx install 'poetry==${{ vars.TARGET_POETRY_VERSION }}' | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '${{ vars.TARGET_PYTHON_VERSION }}' | |
cache: poetry | |
- run: poetry env use '${{ vars.TARGET_PYTHON_VERSION }}' | |
- run: poetry install --with cpu,dev | |
- run: poetry run pytest |