Files
test/.gitea/workflows/test.yaml
Andrii Nikitin 100adecc7d
Some checks failed
Integration tests / t (push) Failing after 1s
Experiment workflow
2026-02-23 13:56:23 +01:00

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