Skip to content

Commit

Permalink
Create PkgEval.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenpi authored Nov 6, 2023
1 parent 4cd7a86 commit bc6b5dc
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/PkgEval.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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="Documenter", 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)

0 comments on commit bc6b5dc

Please sign in to comment.