-
Notifications
You must be signed in to change notification settings - Fork 45
48 lines (43 loc) · 1.01 KB
/
features.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
name: RMT feature tests
on:
pull_request:
branches: [master]
jobs:
feature-tests:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
working-directory: /usr/src/rmt-server
container:
image: registry.opensuse.org/systemsmanagement/scc/containers/15.5/rmt-ci-container:latest
options: --user root
services:
mysql:
image: mysql:5.7
env:
MYSQL_DATABASE: rmt_features
MYSQL_USER: rmt
MYSQL_PASSWORD: rmt
MYSQL_ROOT_PASSWORD: root
ports:
- 3306:3306
options: >-
--health-cmd="mysqladmin ping"
--health-interval=10s
--health-timeout=5s
--health-retries=3
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: build rpm
run: |
rmt-build-rpm
- name: configure rmt
run: |
rmt-configure
- name: run feature tests
run: |
rmt-run-feature-tests