From 920ba513da837e60642b32fe6ebd6c9f60f038ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Tue, 8 Aug 2023 20:58:30 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20add=20codecov?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/runtests.yml | 9 +++++++-- test/Schedulers.jl | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/runtests.yml b/.github/workflows/runtests.yml index 1a023db..f6a4ddd 100644 --- a/.github/workflows/runtests.yml +++ b/.github/workflows/runtests.yml @@ -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 }} diff --git a/test/Schedulers.jl b/test/Schedulers.jl index 1b3dd16..d6ed877 100644 --- a/test/Schedulers.jl +++ b/test/Schedulers.jl @@ -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(