Skip to content

Commit

Permalink
Add workflow to check PkgEval
Browse files Browse the repository at this point in the history
  • Loading branch information
goerz committed Nov 6, 2023
1 parent 9ee2791 commit 00d0ba0
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/PkgEval.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
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)
result = PkgEval.evaluate_test(config, package; echo=true)
exit(result.status == :ok ? 0 : 1)

0 comments on commit 00d0ba0

Please sign in to comment.