Skip to content

Commit

Permalink
Merge pull request #3 from rse-standrewscs/switch-GHactions
Browse files Browse the repository at this point in the history
Switch from Travis CI to GitHub actions
  • Loading branch information
alex-konovalov authored Apr 29, 2021
2 parents 22cb7d6 + 67e83a1 commit a1d49ef
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 42 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

# Trigger the workflow on push or pull request
on:
- push
- pull_request

jobs:
# The CI test job
test:
name: ${{ matrix.gap-branch }}
runs-on: ubuntu-latest
# Don't run this twice on PRs for branches pushed to the same repository
if: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) }}
strategy:
fail-fast: false
matrix:
gap-branch:
- master
- stable-4.11
- stable-4.10
- stable-4.9

steps:
- uses: actions/checkout@v2
- uses: gap-actions/setup-gap@v2
with:
GAPBRANCH: ${{ matrix.gap-branch }}
- uses: gap-actions/build-pkg@v1
- uses: gap-actions/run-pkg-tests@v2
- uses: gap-actions/process-coverage@v2
- uses: codecov/codecov-action@v1
41 changes: 0 additions & 41 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.org/rse-standrewscs/gap-binder-template.svg?branch=master)](https://travis-ci.org/rse-standrewscs/gap-binder-template)
[![Build Status](https://github.com/rse-standrewscs/gap-binder-template/workflows/CI/badge.svg?branch=master)](https://github.com/rse-standrewscs/gap-binder-template/actions?query=workflow%3ACI+branch%3Amaster)
[![Code Coverage](https://codecov.io/github/rse-standrewscs/gap-binder-template/coverage.svg?branch=master&token=)](https://codecov.io/gh/rse-standrewscs/gap-binder-template)
[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/rse-standrewscs/gap-binder-template/master)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3662155.svg)](https://doi.org/10.5281/zenodo.3662155)
Expand Down

0 comments on commit a1d49ef

Please sign in to comment.