Skip to content

Commit c3ef686

Browse files
committed
Replace Travis CI with GitHub Actions
1 parent 95fadd1 commit c3ef686

File tree

3 files changed

+30
-5
lines changed

3 files changed

+30
-5
lines changed

.github/workflows/test.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Tests
2+
on: [push, pull_request]
3+
jobs:
4+
test:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Checkout
8+
uses: actions/checkout@v4
9+
10+
- name: Prepare java
11+
uses: actions/setup-java@v4
12+
with:
13+
distribution: 'zulu'
14+
java-version: '8'
15+
16+
- name: Install clojure tools
17+
uses: DeLaGuardo/[email protected]
18+
with:
19+
lein: 2.11.2
20+
21+
- name: Cache clojure dependencies
22+
uses: actions/cache@v4
23+
with:
24+
path: ~/.m2/repository
25+
key: cljdeps-${{ hashFiles('project.clj') }}
26+
restore-keys: cljdeps-
27+
28+
- name: Run tests
29+
run: lein test-all

.travis.yml

Lines changed: 0 additions & 2 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# Ring-Mock
2-
3-
[![Build Status](https://travis-ci.org/ring-clojure/ring-mock.svg?branch=master)](https://travis-ci.org/ring-clojure/ring-mock)
1+
# Ring-Mock [![Build Status](https://github.com/ring-clojure/ring-mock/actions/workflows/test.yml/badge.svg)](https://github.com/ring-clojure/ring-mock/actions/workflows/test.yml)
42

53
Ring-Mock is a library for creating [Ring][] request maps for testing
64
purposes.

0 commit comments

Comments
 (0)