diff options
author | Ken Kellner <ken@kenkellner.com> | 2022-02-24 21:01:26 -0500 |
---|---|---|
committer | Ken Kellner <ken@kenkellner.com> | 2022-02-24 21:01:26 -0500 |
commit | 32d404272e24ebdfb9c62e9b354279df6c08f83f (patch) | |
tree | 3bd9f89f1b313113380c264c34be07e8deaca123 | |
parent | e02b134359cf4953bd0e642f0d7e598393691431 (diff) |
-rw-r--r-- | .github/workflows/ci.yml | 47 | ||||
-rw-r--r-- | .travis.yml | 7 | ||||
-rw-r--r-- | README.md | 2 |
3 files changed, 48 insertions, 8 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..2896433 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,47 @@ +name: CI +on: + pull_request: + branches: + - master + push: + branches: + - master + tags: '*' +jobs: + test: + name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + version: + - '1' # This automatically expands to the latest stable 1.x release. + - 'nightly' + os: + - ubuntu-latest + - macos-latest + - windows-latest + arch: + - x64 + steps: + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@v1 + with: + version: ${{ matrix.version }} + arch: ${{ matrix.arch }} + - uses: actions/cache@v1 + 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 + - uses: julia-actions/julia-runtest@v1 + - uses: julia-actions/julia-processcoverage@v1 + - uses: codecov/codecov-action@v1 + with: + file: lcov.info diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d8a0029..0000000 --- a/.travis.yml +++ /dev/null @@ -1,7 +0,0 @@ -language: julia - -julia: - - nightly - - 1.4 - -codecov: true @@ -1,6 +1,6 @@ # Unmarked.jl -[![Build Status](https://travis-ci.org/kenkellner/Unmarked.jl.svg?branch=master)](https://travis-ci.org/kenkellner/Unmarked.jl) +[![Build Status](https://github.com/kenkellner/Unmarked.jl/workflows/CI/badge.svg)](https://github.com/kenkellner/Unmarked.jl/actions) [![codecov](https://codecov.io/gh/kenkellner/Unmarked.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/kenkellner/Unmarked.jl) Unofficial Julia port of the R package [unmarked](https://cran.r-project.org/web/packages/unmarked/index.html), for analyzing ecological data while accounting for imperfect detection. |