Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Tests
on: [push, pull_request]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Cache .m2 repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: maven-repository-${{ hashFiles('**/pom.xml') }}
- name: Set up Adoptium JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: Setup fonts
run: cd vilebot && bash download-fonts.sh && cd ..
- name: Setup configuration
run: cp vilebot/cfg/vilebot.conf.example vilebot/cfg/vilebot.conf
- name: Run tests
run: mvn verify
10 changes: 0 additions & 10 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,5 +1,5 @@
# Vilebot
[![Build Status](https://travis-ci.org/oldterns/VileBot.svg?branch=master)](https://travis-ci.org/oldterns/VileBot)
[![Build Status](https://github.com/oldterns/VileBot/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/oldterns/VileBot/actions?query=branch%3Amaster)

## Setup

Expand Down