-
Notifications
You must be signed in to change notification settings - Fork 5
53 lines (43 loc) · 1.14 KB
/
ci-joli.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: CI-JOLI
on:
# Trigger the workflow on push to master or pull request
# to be merged in master
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version: ['lts', '1.10', '1']
os:
- ubuntu-latest
- macos-latest
arch:
- x64
steps:
- name: Checkout JOLI
uses: actions/checkout@v2
- name: Setup julia
uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- name: Install wavelets
run: |
python -m pip install --upgrade pip
pip install PyWavelets
- name: Build JOLI
uses: julia-actions/julia-buildpkg@latest
- name: Run tests
uses: julia-actions/julia-runtest@latest
- name: Run examples
working-directory: examples
run: |
julia --project -e 'using JOLI; for f in readdir("."); include(f); end'