11name : CI
22on :
33 push :
4- branches :
5- - main
4+ branches : [main]
65 tags : ' *'
76 pull_request :
8- branches :
9- - main
7+ branches : [main]
108concurrency :
119 # Skip intermediate builds: always.
1210 # Cancel intermediate builds: only if it is a pull request build.
1311 group : ${{ github.workflow }}-${{ github.ref }}
1412 cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
1513jobs :
1614 test :
17- name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
15+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }}
1816 runs-on : ${{ matrix.os }}
1917 strategy :
2018 fail-fast : false
@@ -27,14 +25,11 @@ jobs:
2725 - ubuntu-latest
2826 - macOS-latest
2927 - windows-latest
30- arch :
31- - default
3228 steps :
3329 - uses : actions/checkout@v7
3430 - uses : julia-actions/setup-julia@v3
3531 with :
3632 version : ${{ matrix.version }}
37- arch : ${{ matrix.arch }}
3833 - uses : julia-actions/cache@v3
3934 - uses : julia-actions/julia-buildpkg@v1
4035 - uses : julia-actions/julia-runtest@v1
@@ -51,25 +46,11 @@ jobs:
5146 - uses : julia-actions/setup-julia@v3
5247 with :
5348 version : ' 1'
49+ - uses : julia-actions/cache@v3
5450 - uses : julia-actions/julia-buildpkg@v1
55- - run : julia -e 'using Pkg; Pkg.add("Aqua")'
56- - run : julia --project=@. -e 'using Aqua, PSFModels; Aqua.test_all(PSFModels, ambiguities=false)'
57- docs :
58- name : Documentation
59- runs-on : ubuntu-latest
60- steps :
61- - uses : actions/checkout@v7
62- - uses : julia-actions/setup-julia@v3
63- with :
64- version : ' 1'
65- - run : |
66- julia --project=docs -e '
67- using Pkg
68- Pkg.develop(PackageSpec(path=pwd()))
69- Pkg.instantiate()'
70- - run : julia --project=docs docs/make.jl
71- env :
72- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
73- DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
74- GKSwstype : " 100" # fix GKS socket error for plots made in @example blocks
75- DATADEPS_ALWAYS_ACCEPT : true
51+ - name : Install Aqua
52+ shell : julia --color=yes {0}
53+ run : using Pkg; Pkg.add("Aqua")
54+ - name : Run Aqua tests
55+ shell : julia --project=@. --color=yes {0}
56+ run : ' using Aqua, PSFModels; Aqua.test_all(PSFModels, ambiguities=false)'
0 commit comments