generated from pool/new_package
35 lines
843 B
YAML
35 lines
843 B
YAML
name: Integration tests
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
push:
|
|
branches: ['main', 'test']
|
|
|
|
env:
|
|
HOME: /workspace
|
|
REPO_PATH: /workspace/${{ gitea.repository }}
|
|
REPO_URL: http://src.opensuse.org/${{ gitea.repository }}.git
|
|
|
|
jobs:
|
|
t:
|
|
runs-on: linux-x86_64
|
|
steps:
|
|
- name: Test env
|
|
run: |
|
|
whoami
|
|
id -u
|
|
id
|
|
pwd
|
|
df -h
|
|
- name: Test podman
|
|
run: podman run --rm tumbleweed cat /etc/os-release
|
|
- name: Checkout product
|
|
run: |
|
|
test -n "${{ env.REPO_PATH }}" && rm -rfv "${{ env.REPO_PATH }}"/*
|
|
git config --global --add safe.directory ${{ env.REPO_PATH }}
|
|
git clone ${{ env.REPO_URL }} ${{ env.REPO_PATH }}
|
|
- name: Prepare binaries
|
|
run: make build
|
|
path: ${{ env.REPO_PATH }}/giwtf
|