Refacto of the classical VQ module. Introduce dedicated encode and de… #2
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: Test | |
on: | |
push: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
# strategy: | |
# matrix: | |
# python-version: ["3.9", "3.10", "3.11", "3.12"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
- uses: eifinger/setup-rye@v2 | |
id: setup-rye | |
- name: Use UV instead of pip | |
run: rye config --set-bool behavior.use-uv=true | |
- name: Install dependencies | |
run: | | |
rye sync | |
- name: Run pytest | |
run: | | |
rye run pytest --cov=encyclopedia_vae tests -v |