Skip to content

Commit

Permalink
Merge pull request #7421 from Obihoernchen/github_action
Browse files Browse the repository at this point in the history
Various GitHub Action xcat_test fixes
  • Loading branch information
Obihoernchen authored Feb 12, 2024
2 parents 6b8c669 + 93cab1e commit 65b5c72
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/xcat_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ on: [pull_request, workflow_dispatch]
jobs:
xcat_pr_test:
runs-on: ubuntu-20.04
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- run: sudo apt-get install -y fakeroot reprepro devscripts debhelper libcapture-tiny-perl libjson-perl libsoap-lite-perl libdbi-perl libcgi-pm-perl quilt openssh-server dpkg looptools genometools software-properties-common
- run: perl github_action_xcat_test.pl
- uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get install -y fakeroot reprepro devscripts debhelper libcapture-tiny-perl libjson-perl libsoap-lite-perl libdbi-perl libcgi-pm-perl quilt openssh-server dpkg looptools genometools software-properties-common
- name: Run tests
run: perl github_action_xcat_test.pl
2 changes: 1 addition & 1 deletion xCAT-test/autotest/testcase/makedhcp/cases0
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ end

start:makedhcp_n_linux
description:Create a new dhcp configuration file with a network statement for each network the dhcp daemon should listen on
label:others,ci_test
label:others
os:Linux
cmd:if [ -f "/etc/dhcp/dhcpd.conf" ];then cp -f /etc/dhcp/dhcpd.conf /etc/dhcp/dhcpd.conf.bak ; elif [ -f "/etc/dhcpd.conf" ]; then cp -f /etc/dhcpd.conf /etc/dhcpd.conf.bak; fi
cmd:makedhcp -n
Expand Down

0 comments on commit 65b5c72

Please sign in to comment.