Skip to content

Commit d01e1b2

Browse files
committed
Added test of carriage returns
1 parent 678c92c commit d01e1b2

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Diff for: .github/workflows/cr-test.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Test carriage return behavior
2+
on: [workflow_dispatch, push]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Test
8+
run: |
9+
printf "Loading 0%%...\r"
10+
printf "Loading 5%%...\r"
11+
printf "Loading 10%%...\r"
12+
printf "Loading 50%%...\r"
13+
printf "Loading 50%%...\rLoading 57%%...\r"
14+
sleep 15
15+
printf "Loading 100%%...\r"
16+
printf "Done\n"

0 commit comments

Comments
 (0)