Skip to content

Commit

Permalink
ci: added github actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
audrium committed Oct 30, 2020
1 parent 0314d5b commit 29931aa
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 16 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This file is part of REANA.
# Copyright (C) 2020 CERN.
#
# REANA is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.

name: CI

on: [push, pull_request]

jobs:
build-docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Build image
run: make build

- name: Test image
run: make test
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ build: Dockerfile
docker build -t $(IMAGE) .

test:
docker run -i -t --rm $(IMAGE) klist 2>&1 | grep "klist: No credentials"
docker run -i --rm $(IMAGE) klist 2>&1 | grep "klist: No credentials"

push:
docker push $(IMAGE)
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
REANA Authentication Kerberos5
==============================

.. image:: https://img.shields.io/travis/reanahub/reana-auth-krb5.svg
:target: https://travis-ci.org/reanahub/reana-auth-krb5
.. image:: https://github.com/reanahub/reana-auth-krb5/workflows/CI/badge.svg
:target: https://github.com/reanahub/reana-auth-krb5/actions

.. image:: https://badges.gitter.im/Join%20Chat.svg
:target: https://gitter.im/reanahub/reana?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge
Expand Down

0 comments on commit 29931aa

Please sign in to comment.