Skip to content

Feature tests as GitHub actions #10

Feature tests as GitHub actions

Feature tests as GitHub actions #10

Workflow file for this run

---
name: RMT feature tests
on:
pull_request:
branches: [master]
jobs:
feature-tests:
runs-on: ubuntu-latest
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: |
echo "path: $GITHUB_WORKSPACE"
ls $GITHUB_WORKSPACE
echo "rmt-server"
ls /usr/src/rmt-server
echo "general"
ls /usr/src
bash ci/rmt-build-rpm