Skip to content

Build(deps): Bump peter-evans/create-pull-request from 6.0.2 to 6.1.0… #135

Build(deps): Bump peter-evans/create-pull-request from 6.0.2 to 6.1.0…

Build(deps): Bump peter-evans/create-pull-request from 6.0.2 to 6.1.0… #135

Workflow file for this run

name: CI
on:
merge_group:
pull_request:
push:
branches:
- main
tags: "*"
concurrency:
# Skip intermediate builds: all builds except for builds on the `main` branch
# Cancel intermediate builds: only pull request builds
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.ref != 'refs/heads/main' || github.run_number }}
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
permissions:
contents: read
jobs:
finalize:
timeout-minutes: 10
needs: [test, check]
if: always()
runs-on: ubuntu-latest
steps:
- run: |
echo test: ${{ needs.test.result }}
echo check: ${{ needs.check.result }}
- run: exit 1
if: |
(needs.test.result != 'success') ||
(needs.check.result != 'success')
check:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
- uses: julia-actions/setup-julia@3645a07f58c7f83b9f82ac8e0bb95583e69149e6 # v2.2.0
with:
version: "1"
- run: make format-check
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
julia-version:
- "1.7"
- "1.8"
- "1"
os:
- ubuntu-latest
- windows-latest
- macos-13
- macos-latest
install_general_registry:
- true
- false
exclude:
- os: macos-latest
julia-version: "1.7"
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
- uses: julia-actions/setup-julia@3645a07f58c7f83b9f82ac8e0bb95583e69149e6 # v2.2.0
with:
version: "${{ matrix.julia-version }}"
- run: julia .ci/setup.jl # sets the `TEMP_DEPOT` environment variable
- uses: ./ # run this action
with:
juliahub_token_encoded: ${{ secrets.JULIAPRO_ENCODED_TOKEN_FOR_TESTING }}
private_registry_name: ${{ secrets.TEST_REGISTRY_NAME }}
private_registry_uuid: ${{ secrets.TEST_REGISTRY_UUID }}
install_general_registry: ${{ matrix.install_general_registry}}
env:
JULIA_PKG_SERVER: ${{ secrets.TEST_PKG_SERVER }}
JULIA_DEPOT_PATH: ${{ env.TEMP_DEPOT }}
- run: julia .ci/test_registries_general${{ matrix.install_general_registry}}.jl
env:
JULIA_PKG_SERVER: ${{ secrets.TEST_PKG_SERVER }}
JULIA_DEPOT_PATH: ${{ env.TEMP_DEPOT }}
TEST_REGISTRY_NAME: ${{ secrets.TEST_REGISTRY_NAME }}
TEST_REGISTRY_UUID: ${{ secrets.TEST_REGISTRY_UUID }}
- run: julia .ci/test_pkg_add.jl
env:
JULIA_PKG_SERVER: ${{ secrets.TEST_PKG_SERVER }}
JULIA_DEPOT_PATH: ${{ env.TEMP_DEPOT }}
TEST_PACKAGE_NAME: ${{ secrets.TEST_PACKAGE_NAME }}
TEST_PACKAGE_UUID: ${{ secrets.TEST_PACKAGE_UUID }}
- run: julia .ci/teardown.jl
env:
TEMP_DEPOT: ${{ env.TEMP_DEPOT }}