Skip to content

Commit 280c2f8

Browse files
committed
workflows: add test workflow
1 parent 463e1d5 commit 280c2f8

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

.github/workflows/test-runner.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Test Runner
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout code
17+
uses: actions/checkout@v2
18+
19+
- name: Set up JDK
20+
uses: actions/setup-java@v2
21+
with:
22+
distribution: 'adopt'
23+
java-version: '17'
24+
25+
- name: Run tests
26+
run: ./gradlew test

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# TBOOOP! A demake of The Binding of Isaac
22

3+
<p align="center">
4+
<img src="https://github.com/GioeleBucci/TBOOOP/actions/workflows/test-runner.yml/badge.svg" alt="Tests">
5+
</p>
6+
37
<p align="center">
48
<img src="https://imgur.com/u0BDjx7.png">
59
</p>

0 commit comments

Comments
 (0)