Skip to content

Commit

Permalink
Switch CI to GH Actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre committed Sep 28, 2021
1 parent aa44f0f commit ed5fba4
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 62 deletions.
33 changes: 0 additions & 33 deletions .appveyor.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: TagBot
on:
issue_comment:
types:
- created
workflow_dispatch:
jobs:
TagBot:
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
runs-on: ubuntu-latest
steps:
- uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
ssh: ${{ secrets.DOCUMENTER_KEY }}
44 changes: 44 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CI

on:
push:
branches:
- 'master'
- 'release-'
tags: '*'
pull_request:

jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
version:
- '1.0'
- '1'
- 'nightly'
os:
- ubuntu-latest
- macos-latest
# - windows-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
- name: "Pkg.instantiate and install cli"
run: |
echo "${PWD}/bin" >> $GITHUB_PATH
julia --project -e 'using Pkg; Pkg.instantiate()'
julia --project -e 'using jlpkg; jlpkg.install(; command = "jlpkg-ci", destdir = joinpath(pwd(), "bin"))'
- name: "Run tests (Unix)"
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macOS-latest'
run: jlpkg-ci --project test --coverage
- name: "Run tests (Windows)"
if: matrix.os == 'windows-latest'
run: cmd /c jlpkg-ci --project test --coverage
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v1
with:
file: lcov.info
29 changes: 0 additions & 29 deletions .travis.yml

This file was deleted.

0 comments on commit ed5fba4

Please sign in to comment.