-
Notifications
You must be signed in to change notification settings - Fork 5
39 lines (39 loc) · 1.2 KB
/
PkgEval.yml
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
name: PkgEval
on:
push:
branches:
- pkgeval
- 'release-*'
jobs:
test:
name: Check PkgEval
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: julia-actions/setup-julia@v1
with:
version: '1'
- uses: actions/checkout@v4
with:
repository: 'JuliaCI/PkgEval.jl'
- name: Instantiate PkgEval
run: julia --project=. -e 'import Pkg; Pkg.instantiate()'
- name: Run PkgEval
shell: julia --project=. {0}
run: |
BRANCH = ENV["GITHUB_REF_NAME"]
using PkgEval
config = Configuration(; julia="nightly");
package = Package(; name="DocumenterCitations", rev=BRANCH)
println("##################################################")
@show config
@show package
println("##################################################")
result = PkgEval.evaluate_test(config, package; echo=true)
println("##################################################")
@show result.version
@show result.duration
@show result.status
@show result.reason
exit(result.status == :ok ? 0 : 1)