Skip to content

Commit

Permalink
Migration of jobs from travis to github actions (#198)
Browse files Browse the repository at this point in the history
* Created main.yml for github actions workflow
  • Loading branch information
jainadc9 authored Jun 15, 2022
1 parent ffe5713 commit 808d848
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 16 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
if: github.repository == 'eiffel-community/eiffel-remrem-generate'
# The type of runner that the job will run on
runs-on: ubuntu-latest

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '8'


- name: Run test
shell: bash
run : mvn -V -B -U clean test jacoco:report
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

0 comments on commit 808d848

Please sign in to comment.