Skip to content

Commit 38464a4

Browse files
committed
ci: migrate running of integration tests from TravisCI to GitHub Actions
Part of #1154
1 parent 4528547 commit 38464a4

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed
+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Integration Tests
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
run-integration-tests:
8+
name: Integration Tests (H2)
9+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idruns-on
10+
runs-on: ubuntu-20.04
11+
steps:
12+
- name: Clone source code
13+
uses: actions/[email protected] # https://github.com/actions/checkout
14+
with:
15+
# Whether to configure the token or SSH key with the local git config. Default: true
16+
persist-credentials: false
17+
- name: Install JDK
18+
uses: actions/[email protected] # https://github.com/actions/setup-java
19+
with:
20+
distribution: 'adopt' # https://github.com/actions/setup-java#supported-distributions
21+
java-version: '8' # https://github.com/actions/setup-java#supported-version-syntax
22+
cache: 'maven' # https://github.com/actions/setup-java#caching-packages-dependencies
23+
- name: Run integration tests
24+
run: ./src/main/scripts/execute-command.sh integration-tests

.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ language: java
33

44
env:
55
matrix:
6-
- SPRING_PROFILES_ACTIVE=test
76
- SPRING_PROFILES_ACTIVE=travis
87
- SPRING_PROFILES_ACTIVE=postgres
98
global:

0 commit comments

Comments
 (0)