Skip to content

[BREAKING] HTTP.jl 2.0 package overhaul #1292

[BREAKING] HTTP.jl 2.0 package overhaul

[BREAKING] HTTP.jl 2.0 package overhaul #1292

Workflow file for this run

name: CI
on:
pull_request:
branches:
- master
push:
branches:
- master
tags: '*'
defaults:
run:
shell: bash
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
version: '1.11'
arch: default
coverage: '0'
- os: ubuntu-latest
version: '1.12'
arch: default
coverage: '1'
- os: ubuntu-latest
version: 'nightly'
arch: default
coverage: '0'
- os: macOS-latest
version: '1.12'
arch: default
coverage: '0'
- os: windows-latest
version: '1.12'
arch: default
coverage: '0'
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v2
- run: |
julia --project=. --startup-file=no --history-file=no -e '
using Pkg
Pkg.develop(PackageSpec(url="https://github.com/JuliaServices/Reseau.jl", rev="codex/reseau-http-split"))
Pkg.instantiate()'
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
env:
JULIA_NUM_THREADS: 2
- if: matrix.coverage == '1'
uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v5
if: matrix.coverage == '1'
with:
files: lcov.info
token: ${{ secrets.GITHUB_TOKEN }}
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1.12'
- run: |
julia --project=docs --startup-file=no --history-file=no -e '
using Pkg
Pkg.develop(PackageSpec(path=pwd()))
Pkg.develop(PackageSpec(url="https://github.com/JuliaServices/Reseau.jl", rev="codex/reseau-http-split"))
Pkg.instantiate()'
- run: |
julia --project=docs --startup-file=no --history-file=no -e '
using Documenter: doctest
using HTTP
doctest(HTTP)'
- run: julia --project=docs --startup-file=no --history-file=no docs/make.jl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}