mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-09-30 14:55:16 +00:00
f375080212
The GitHub check installs no rpm, so riscv64_packaging.t and genesis_spec_target_arch.t skip every check that runs rpmspec. The workflow now installs rpm, which provides rpmspec on Ubuntu.
17 lines
866 B
YAML
17 lines
866 B
YAML
name: xcat_test
|
|
on: [pull_request, workflow_dispatch]
|
|
jobs:
|
|
xcat_pr_test:
|
|
runs-on: ubuntu-24.04
|
|
timeout-minutes: 60
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Refresh package indexes
|
|
run: sudo apt-get update
|
|
- name: Install dependencies
|
|
run: sudo env DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --no-install-suggests bats bubblewrap build-essential fakeroot reprepro devscripts debhelper libcapture-tiny-perl libfile-slurper-perl libjson-perl libparallel-forkmanager-perl libsoap-lite-perl libdbi-perl libcgi-pm-perl quilt openssh-server dpkg looptools genometools rpm software-properties-common
|
|
- name: Enable postscript test namespaces
|
|
run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
|
|
- name: Run tests
|
|
run: perl github_action_xcat_test.pl
|