Distinction between max payload and max pax (#81) #383
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: | |
push: | |
branches: [main] | |
pull_request: | |
types: [opened, synchronize, reopened] | |
# needed to allow julia-actions/cache to delete old caches that it has created | |
permissions: | |
actions: write | |
contents: read | |
jobs: | |
#test set for varied julia versions | |
test: | |
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
version: #as defined by setup-julia - https://github.com/julia-actions/setup-julia?tab=readme-ov-file#examples | |
- '1.9' #initial version for tasopt dev | |
- 'lts' #long-term-support, julia 1.10 as of 10/2024 | |
- 'nightly' #latest and greatest build | |
os: | |
- ubuntu-latest | |
arch: | |
- x64 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Julia | |
uses: julia-actions/setup-julia@v2 | |
with: | |
version: ${{ matrix.version }} | |
arch: ${{ matrix.arch }} | |
- name: Cache Julia artifacts | |
uses: julia-actions/cache@v2 | |
env: | |
cache-name: cache-artifacts | |
- name: Build Julia package | |
uses: julia-actions/julia-buildpkg@v1 | |
- name: Run Julia tests | |
uses: julia-actions/julia-runtest@v1 | |
with: | |
depwarn: 'yes' | |
- name: Process coverage | |
uses: julia-actions/julia-processcoverage@v1 | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
file: lcov.info | |
#test for deprecations as errors | |
test_depr: | |
name: Strict Deprecation Check, Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
version: #as defined by setup-julia - https://github.com/julia-actions/setup-julia?tab=readme-ov-file#examples | |
- 'nightly' #latest and greatest build | |
os: | |
- ubuntu-latest | |
arch: | |
- x64 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Julia | |
uses: julia-actions/setup-julia@v2 | |
with: | |
version: ${{ matrix.version }} | |
arch: ${{ matrix.arch }} | |
- name: Cache Julia artifacts | |
uses: julia-actions/cache@v2 | |
env: | |
cache-name: cache-artifacts | |
- name: Build Julia package | |
uses: julia-actions/julia-buildpkg@v1 | |
- name: Run Julia tests | |
uses: julia-actions/julia-runtest@v1 | |
with: | |
depwarn: 'error' | |