Diffusers.jl/.github/workflows/runtests.yml

34 lines
738 B
YAML
Raw Normal View History

2023-08-07 18:36:40 +00:00
name: Run tests
on:
push:
branches:
- master
- main
pull_request:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
julia-version: ['1.9']
julia-arch: [x64]
os: [ubuntu-latest]
2023-08-07 18:36:40 +00:00
steps:
- uses: actions/checkout@v2
2023-08-08 18:58:30 +00:00
2023-08-07 18:36:40 +00:00
- 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
2023-08-08 18:58:30 +00:00
- uses: julia-actions/julia-processcoverage@v1
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}