Skip to content

Commit 335d44c

Browse files
authored
Created main.yml for github actions to migrate from travis.yml (#150)
* Create main.yml * Delete travis.yml
1 parent 89f08bc commit 335d44c

File tree

2 files changed

+35
-19
lines changed

2 files changed

+35
-19
lines changed

.github/workflows/main.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: CI
4+
5+
# Controls when the workflow will run
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the master branch
8+
push:
9+
branches: [ master ]
10+
pull_request:
11+
branches: [ master ]
12+
13+
# Allows you to run this workflow manually from the Actions tab
14+
workflow_dispatch:
15+
16+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
17+
jobs:
18+
# This workflow contains a single job called "build"
19+
build:
20+
if: github.repository == 'eiffel-community/eiffel-remrem-semantics'
21+
# The type of runner that the job will run on
22+
runs-on: ubuntu-latest
23+
24+
steps:
25+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26+
- uses: actions/checkout@v3
27+
- uses: actions/setup-java@v3
28+
with:
29+
distribution: 'corretto'
30+
java-version: '8'
31+
32+
33+
- name: Run test
34+
shell: bash
35+
run : mvn -V -B -U clean test

.travis.yml

-19
This file was deleted.

0 commit comments

Comments
 (0)