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])