Skip to content

Commit f3b569f

Browse files
authored
Testing name for ex2
1 parent d7924bd commit f3b569f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/python-app.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ jobs:
3030
run: |
3131
cd programming_fundamentals/python_part_1
3232
pip install -r requirements.txt
33-
python example2.py
33+
echo "Anne Marie Janeene Anastasia Eileen" > names.txt
34+
cat names.txt | while read -r line; do echo "$line" | grep -oP '(\S+)' | shuf -n $((RANDOM%2+1)) | paste -s -d' '; done < file.txt
35+
cat file.txt
36+
python example2.py Anne
3437
- name: Test Programming Fundamentals Python Part 1 - ex3
3538
run: |
3639
cd programming_fundamentals/python_part_1

0 commit comments

Comments
 (0)