Skip to content

Commit 4aa80f5

Browse files
committed
Made CI unmount littlefs at the end of each test
Probably should have been doing this before. This leaves CI in a stable unmounted state between CI steps, which is necessary for the lfs2.0-migrate test to work.
1 parent ec4c885 commit 4aa80f5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ jobs:
5050
make -B test-runner
5151
make -B test
5252
53+
cd ../..
54+
umount mount
55+
./lfs --stat $LOOP
56+
5357
# test older versions
5458
test-lfs2_0:
5559
runs-on: ubuntu-22.04
@@ -89,6 +93,10 @@ jobs:
8993
ls -flh
9094
make -B test-runner
9195
make -B test
96+
97+
cd ../..
98+
umount mount
99+
./lfs --stat $LOOP
92100
- name: test-migrate
93101
run: |
94102
# self-host test, this time migrating to current version
@@ -106,4 +114,6 @@ jobs:
106114
make -B test-runner
107115
make -B test
108116
117+
cd ../..
118+
umount mount
109119
./lfs --stat $LOOP

0 commit comments

Comments
 (0)