CI: Migrate from Bors to GitHub Merge Queue #356
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
merge_group: # GitHub Merge Queue | |
pull_request: | |
push: | |
branches: | |
- master | |
tags: '*' | |
workflow_dispatch: | |
concurrency: | |
group: integration-tests-global-lock | |
cancel-in-progress: ${{ (github.ref == 'refs/heads/staging') || (github.ref == 'refs/heads/trying') }} | |
jobs: | |
integration-tests: | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 60 | |
# We don't actually want to run integration tests on pull requests, | |
# because we want to avoid hitting rate limits. | |
# So, if this is a PR build, mark the integration tests as "skipped". | |
if: github.event_name != 'pull_request' | |
strategy: | |
fail-fast: false | |
max-parallel: 1 | |
matrix: | |
version: | |
- '1' | |
os: | |
- ubuntu-latest | |
arch: | |
- x64 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@v2 | |
with: | |
version: ${{ matrix.version }} | |
arch: ${{ matrix.arch }} | |
- uses: julia-actions/cache@v2 | |
- run: git config --global user.name "Dilum Aluthge" | |
- run: git config --global user.email "dilum@aluthge.com" | |
- uses: julia-actions/julia-buildpkg@v1 | |
- uses: julia-actions/julia-runtest@v1 | |
env: | |
JULIA_DEBUG: 'BumpStdlibs' | |
BUMPSTDLIBS_TOKEN_FOR_TESTS: ${{ secrets.BUMPSTDLIBS_TOKEN_FOR_TESTS }} | |
- uses: julia-actions/julia-processcoverage@v1 | |
- uses: codecov/codecov-action@v5 | |
with: | |
files: lcov.info | |
token: ${{ secrets.CODECOV_TOKEN }} | |
docs: | |
name: Documentation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@v2 | |
with: | |
version: '1' | |
- uses: julia-actions/cache@v2 | |
- run: | | |
julia --project=docs --color=yes -e ' | |
using Pkg | |
Pkg.develop(PackageSpec(path=pwd())) | |
Pkg.instantiate()' | |
- run: | | |
julia --project=docs --color=yes -e ' | |
using Documenter: doctest | |
using BumpStdlibs | |
doctest(BumpStdlibs)' | |
- run: julia --project=docs --color=yes docs/make.jl | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} |