Skip to content

Commit

Permalink
Update unittest.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BelleNottelling committed Apr 8, 2024
1 parent f93984a commit 2b7cf18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ jobs:
- name: Test gzip
run: |
output=$(curl localhost:8000 -s -H "Accept-Encoding: gzip" | gzip -d -)
if [ ! "$output" == "Hello, world!" ]; exit 1
if [ ! "$output" == "Hello, world!" ]; then exit 1; fi
- name: Test brotli
run: |
output=$(curl localhost:8000 -s -H "Accept-Encoding: br" | brotli -d -)
if [ ! "$output" == "Hello, world!" ]; exit 1
if [ ! "$output" == "Hello, world!" ]; then exit 1; fi
- name: Test zstd
run: |
output=$(curl localhost:8000 -s -H "Accept-Encoding: zstd" | zstd -d -)
if [ ! "$output" == "Hello, world!" ]; exit 1
if [ ! "$output" == "Hello, world!" ]; then exit 1; fi

0 comments on commit 2b7cf18

Please sign in to comment.