From 98116db380d61ca3211cffec053430e5eb300bb7 Mon Sep 17 00:00:00 2001 From: Michael Goerz Date: Mon, 6 Nov 2023 13:26:27 -0500 Subject: [PATCH] Add workflow to check PkgEval --- .github/workflows/PkgEval.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/PkgEval.yml diff --git a/.github/workflows/PkgEval.yml b/.github/workflows/PkgEval.yml new file mode 100644 index 0000000..8f4698c --- /dev/null +++ b/.github/workflows/PkgEval.yml @@ -0,0 +1,29 @@ +name: PkgEval +on: + push: + branches: + - dev + - '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.git' + - 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) + evaluate([config], [package])