Skip to content

Commit 556d55d

Browse files
ChrisDrydensylvestre
authored andcommitted
Update GnuTests.yml
1 parent 0e04b8b commit 556d55d

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/GnuTests.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ env:
2727
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
2828
TEST_FULL_SUMMARY_FILE: 'gnu-full-result.json'
2929
TEST_ROOT_FULL_SUMMARY_FILE: 'gnu-root-full-result.json'
30+
TEST_STTY_FULL_SUMMARY_FILE: 'gnu-stty-full-result.json'
3031
TEST_SELINUX_FULL_SUMMARY_FILE: 'selinux-gnu-full-result.json'
3132
TEST_SELINUX_ROOT_FULL_SUMMARY_FILE: 'selinux-root-gnu-full-result.json'
3233

@@ -137,12 +138,28 @@ jobs:
137138
path_GNU='gnu'
138139
path_UUTILS='uutils'
139140
bash "uutils/util/run-gnu-test.sh" run-root
141+
### Run tests as root
142+
140143
- name: Extract testing info from individual logs (run as root) into JSON
141144
shell: bash
142145
run : |
143146
path_UUTILS='uutils'
144147
python uutils/util/gnu-json-result.py gnu/tests > ${{ env.TEST_ROOT_FULL_SUMMARY_FILE }}
145148
149+
- name: Run GNU stty tests
150+
shell: 'script -q -e -c "bash {0}"'
151+
run: |
152+
## Run GNU root tests
153+
path_GNU='gnu'
154+
path_UUTILS='uutils'
155+
bash "uutils/util/run-gnu-test.sh" tests/stty/*.sh
156+
157+
- name: Extract testing info from individual logs (stty) into JSON
158+
shell: bash
159+
run : |
160+
path_UUTILS='uutils'
161+
python uutils/util/gnu-json-result.py gnu/tests > ${{ env.TEST_STTY_FULL_SUMMARY_FILE }}
162+
146163
### Upload artifacts
147164
- name: Upload full json results
148165
uses: actions/upload-artifact@v5

0 commit comments

Comments
 (0)