Skip to content

Commit

Permalink
switch CI to use Github Actions for simplicity
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebolewski committed Jun 19, 2020
1 parent ba9b037 commit c7a1edd
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 131 deletions.
47 changes: 0 additions & 47 deletions .appveyor.yml

This file was deleted.

57 changes: 57 additions & 0 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Tests

on:
pull_request:
push:
branches:
- staging
- trying
jobs:
test:
timeout-minutes: 30
strategy:
fail-fast: true
matrix:
- os: [ubuntu-latest, macos-latest, windows-latest]

steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Checkout
uses: actions/[email protected]

- name: Setup Miniconda
uses: goanpeca/setup-miniconda@v1
with:
auto-update-conda: true
python-version: 3.7

- name: Set up Julia
uses: julia-actions/[email protected]
with:
version: 1.4

- name: Install Julia Project Packages
run: |
julia --project=@. -e 'using Pkg; Pkg.instantiate()'
julia --project=@. -e 'using Pkg; Pkg.precompile()'
- name: Run Unit Tests
run: |
julia --project=@. -e 'using Pkg; Pkg.test(coverage=true)'
- name: Generate coverage file
run: |
julia --project=@. -e 'using Pkg; Pkg.add("Coverage");
using Coverage;
LCOV.writefile("coverage-lcov.info", Codecov.process_folder())'
if: success()

- name: Submit coverage
uses: codecov/[email protected]
with:
token: ${{secrets.CODECOV_TOKEN}}
if: success()
38 changes: 0 additions & 38 deletions .github/workflows/dockerci.yml

This file was deleted.

43 changes: 0 additions & 43 deletions .travis.yml

This file was deleted.

8 changes: 5 additions & 3 deletions bors.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
status = [
"dockerci (1.4, ubuntu-latest)",
"test (ubuntu-latest)',
'test (windows-latest)',
'test (macos-latest'),
]
delete_merged_branches = true
timeout_sec = 86400
block_labels = [ "do-not-merge-yet" ]
timeout_sec = 3600
block_labels = [ "do-not-merge-yet" ]

0 comments on commit c7a1edd

Please sign in to comment.