mirror of
https://github.com/Laurent2916/Diffusers.jl.git
synced 2024-09-07 21:49:58 +00:00
👷 add codecov
This commit is contained in:
parent
ada324cae2
commit
920ba513da
9
.github/workflows/runtests.yml
vendored
9
.github/workflows/runtests.yml
vendored
|
@ -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 }}
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue