Skip to content

Commit

Permalink
Merge branch 'replace-travis-with-github-actions' into 'master'
Browse files Browse the repository at this point in the history
Replace travis CI with github actions

Closes #493

See merge request se2/scratch/litterbox/litterbox!692
  • Loading branch information
b-fein committed Sep 27, 2024
2 parents 1d2f02b + 7ce57b9 commit 968c70a
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 12 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/maven-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build & Test

on:
push:
pull_request:

jobs:
build_and_test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: "17"
distribution: "temurin"
cache: maven

- name: Run tests
run: mvn --batch-mode --update-snapshots test jacoco:report

- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
![LitterBox Logo](src/main/resources/litterbox.png "LitterBox Logo")

![License LGPL v3](https://img.shields.io/github/license/se2p/LitterBox?color=blue&style=flat-square)
![Travis (.org)](https://img.shields.io/travis/se2p/LitterBox?style=flat-square)
![License GPL v3](https://img.shields.io/github/license/se2p/LitterBox?color=blue&style=flat-square)
![Codecov](https://img.shields.io/codecov/c/github/se2p/LitterBox?style=flat-square)

LitterBox is a static code analysis tool for detecting bugs in
Expand Down

0 comments on commit 968c70a

Please sign in to comment.