👷 add codecov

This commit is contained in:
Laureηt 2023-08-08 20:58:30 +02:00
parent ada324cae2
commit 920ba513da
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI
2 changed files with 8 additions and 3 deletions

View file

@ -18,11 +18,16 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.julia-version }}
arch: ${{ matrix.julia-arch }}
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
# with:
# annotate: true
- uses: julia-actions/julia-processcoverage@v1
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

View file

@ -32,7 +32,7 @@ using Test
@testset "check `add_noise` terminal SNR" begin
T = 10
batch_size = 1
size = 1000
size = 2500
# create a DDPM with a terminal SNR cosine beta schedule
ddpm = Diffusers.DDPM(