Skip to content

Add model - Hierarchical Residual Quantization (HRQVAE) (#140) #92

Add model - Hierarchical Residual Quantization (HRQVAE) (#140)

Add model - Hierarchical Residual Quantization (HRQVAE) (#140) #92

Workflow file for this run

name: Codecov coverage computation
on:
push:
branches:
- main
jobs:
run:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
env:
OS: ${{ matrix.os }}
PYTHON: '3.7'
steps:
- uses: actions/checkout@main
- name: Setup Python
uses: actions/setup-python@main
with:
python-version: 3.7
- name: Generate coverage report
run: |
pip install .
pip install pytest
pip install pytest-cov
pytest --cov=pythae ./ --cov-report=xml --runslow
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage/reports/
env_vars: OS,PYTHON
fail_ci_if_error: true
files: ./coverage.xml
flags: unittests
name: codecov-umbrella
path_to_write_report: ./coverage/codecov_report.txt
verbose: true