mirror of
https://github.com/MillironX/SequenceVariation.jl.git
synced 2024-11-22 13:29:56 +00:00
Thomas A. Christensen II
ece50c1ee9
32-bit is causing problems in an upstream package, and I'm not sure why, so remove it for now.
57 lines
1.6 KiB
YAML
57 lines
1.6 KiB
YAML
name: Unit Tests
|
|
|
|
on:
|
|
- push
|
|
- pull_request
|
|
|
|
jobs:
|
|
test:
|
|
name: Julia ${{ matrix.julia-version }} - ${{ matrix.os }} - ${{ matrix.julia-arch }} - ${{ github.event_name }}
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
julia-version:
|
|
- '1.6'
|
|
- '1'
|
|
- 'nightly'
|
|
julia-arch:
|
|
- x64
|
|
os:
|
|
- ubuntu-latest
|
|
- windows-latest
|
|
- macOS-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
- name: Setup Julia
|
|
uses: julia-actions/setup-julia@v1
|
|
with:
|
|
version: ${{ matrix.julia-version }}
|
|
arch: ${{ matrix.julia-arch }}
|
|
- name: Cache artifacts
|
|
uses: actions/cache@v3
|
|
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 }}-
|
|
- name: Build package
|
|
uses: julia-actions/julia-buildpkg@v1
|
|
- name: Run tests
|
|
uses: julia-actions/julia-runtest@v1
|
|
- name: Create CodeCov
|
|
uses: julia-actions/julia-processcoverage@v1
|
|
- name: Upload CodeCov
|
|
uses: codecov/codecov-action@v1
|
|
with:
|
|
file: lcov.info
|
|
flags: unittests
|
|
name: codecov-umbrella
|
|
fail_ci_if_error: false
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|