Skip to content

Commit

Permalink
Fix Ubuntu CI (#71)
Browse files Browse the repository at this point in the history
I always forget how shell scripting works.

Test failures were silently lost so long as the release build worked
afterwards.
  • Loading branch information
stephencelis committed Apr 2, 2021
1 parent b8166f6 commit 43c9174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Bootstrap/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ service postgresql start
sudo -u postgres createuser --superuser isowords
sudo -u postgres psql -c "ALTER USER isowords PASSWORD 'isowords';"
sudo -u postgres createdb --owner isowords isowords_test
TEST_SERVER=1 swift test --enable-test-discovery
TEST_SERVER=1 swift test --enable-test-discovery || exit $?
swift build \
--configuration=release \
--enable-test-discovery \
Expand Down

0 comments on commit 43c9174

Please sign in to comment.