mirror of
https://github.com/Laurent2916/Diffusers.jl.git
synced 2024-11-08 14:38:58 +00:00
👷 add runtest github action
This commit is contained in:
parent
43f47055e0
commit
43a8a2612a
31
.github/workflows/runtests.yml
vendored
Normal file
31
.github/workflows/runtests.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Run tests
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
julia-version: ['1.0', '1', 'nightly']
|
||||||
|
julia-arch: [x64, x86]
|
||||||
|
os: [ubuntu-latest, windows-latest, macOS-latest]
|
||||||
|
exclude:
|
||||||
|
- os: macOS-latest
|
||||||
|
julia-arch: x86
|
||||||
|
|
||||||
|
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
|
Loading…
Reference in a new issue