Skip to content

Update ci.yml - experiment with blanks in absolute path testing #3309

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,20 @@ jobs:
with:
submodules: true
fetch-depth: 0
- run: git fetch --recurse-submodules=no https://github.com/linuxcnc/linuxcnc +refs/tags/*:refs/tags/*
- run:
mkdir -p "subdir with blanks in name"
cd "subdir with blanks in name" && git fetch --recurse-submodules=no https://github.com/linuxcnc/linuxcnc +refs/tags/*:refs/tags/*
- name: Build RIP & test
run: |
set -x
sudo apt-get install -y eatmydata
eatmydata ./scripts/travis-install-build-deps.sh
# still in subdir?
pwd
#./"subdir with blanks in name"
./scripts/travis-install-build-deps.sh
sudo eatmydata apt --quiet --yes upgrade
cd src
#cd "subdir with blanks in name"
cd ./src
eatmydata ./autogen.sh
eatmydata ./configure --disable-check-runtime-deps
eatmydata make -O -j$((1+$(nproc))) default pycheck V=1
Expand Down Expand Up @@ -170,7 +176,8 @@ jobs:
eatmydata passwd -d testrunner
eatmydata adduser testrunner sudo
chmod 0777 $(find tests/ -type d) # make test dirs world-writable for the testrunner
su -c "eatmydata ./scripts/runtests -p ./tests" testrunner
mv tests "tests with blanks in filename"
su -c 'eatmydata ./scripts/runtests -p "./tests with blanks in filename"' testrunner

package-indep:
runs-on: ubuntu-24.04
Expand Down
Loading