Skip to content

Commit d37e703

Browse files
committed
Replace Travis CI with GitHub Actions Linux workflow
1 parent 2a5f2b2 commit d37e703

File tree

2 files changed

+34
-42
lines changed

2 files changed

+34
-42
lines changed

.github/workflows/test-linux.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Build (Linux)
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
services:
14+
rabbitmq:
15+
image: rabbitmq:3.8.9-management
16+
ports:
17+
- 5672:5672
18+
- 15672:15672
19+
20+
steps:
21+
- uses: actions/checkout@v2
22+
23+
- name: Setup .NET Core
24+
uses: actions/setup-dotnet@v1
25+
with:
26+
dotnet-version: 3.1.x
27+
28+
- name: Build
29+
run: dotnet build --configuration Release
30+
31+
- name: Test
32+
run: dotnet test --configuration Release --framework 'netcoreapp3.1' --no-build
33+
env:
34+
RABBITMQ_RABBITMQCTL_PATH: DOCKER:${{job.services.rabbitmq.id}}

.travis.yml

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

0 commit comments

Comments
 (0)