Add inverse map implementation #344
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: | |
push: | |
paths-ignore: | |
- 'LICENSE.md' | |
- 'README.md' | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
tags: '*' | |
jobs: | |
pre_job: | |
runs-on: ubuntu-latest | |
# Map a step output to a job output | |
outputs: | |
should_skip: ${{ steps.skip_check.outputs.should_skip }} | |
steps: | |
- id: skip_check | |
uses: fkirc/skip-duplicate-actions@v5 | |
with: | |
concurrent_skipping: 'same_content_newer' | |
test: | |
name: Julia ${{ matrix.julia-version }} - ${{ matrix.os }} - ${{ matrix.julia-threads }} thread(s) - ${{ github.event_name }} | |
needs: pre_job | |
if: needs.pre_job.outputs.should_skip != 'true' | |
runs-on: ${{ matrix.os }} | |
env: | |
JULIA_NUM_THREADS: ${{ matrix.julia-threads }} | |
strategy: | |
fail-fast: false | |
matrix: | |
julia-version: ['1.6', '1', 'nightly'] | |
julia-arch: [x64] | |
os: [ubuntu-latest, macOS-latest, windows-latest] | |
# # 32-bit Julia binaries are not available on macOS | |
# exclude: | |
# - os: macOS-latest | |
# julia-arch: x86 | |
julia-threads: | |
- '1' | |
include: | |
- os: ubuntu-latest | |
julia-version: '1' | |
julia-arch: x64 | |
julia-threads: '2' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: "Set up Julia" | |
uses: julia-actions/setup-julia@v2 | |
with: | |
version: ${{ matrix.julia-version }} | |
arch: ${{ matrix.julia-arch }} | |
- uses: actions/cache@v4 | |
env: | |
cache-name: cache-artifacts | |
with: | |
path: ~/.julia/artifacts | |
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} | |
restore-keys: | | |
${{ runner.os }}-test-${{ env.cache-name }}- | |
${{ runner.os }}-test- | |
${{ runner.os }}- | |
- uses: julia-actions/julia-buildpkg@v1 | |
# continue-on-error: ${{ matrix.julia-version == 'nightly' }} | |
- uses: julia-actions/julia-runtest@v1 | |
# continue-on-error: ${{ matrix.julia-version == 'nightly' }} | |
- uses: julia-actions/julia-processcoverage@v1 | |
- uses: coverallsapp/github-action@master | |
with: | |
path-to-lcov: lcov.info | |
github-token: ${{ secrets.GITHUB_TOKEN }} |