Skip to content

Commit

Permalink
remove smoke test experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
doramatadora committed Jul 2, 2024
1 parent a163c4d commit 9bf83d7
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,3 @@ jobs:
run: cargo audit
- name: Run build
run: cargo build
- name: Install fastly CLI
run: |
curl -O https://github.com/fastly/cli/releases/download/v10.12.3/fastly_10.12.3_linux_amd64.deb
sudo apt install ./fastly_10.12.3_linux_amd64.deb
- name: Run smoke test (local server should deliver a redirect response)
run: |
fastly compute serve > /dev/null \
& (sleep 10 \
&& if [ $(curl -s -o /dev/null -w "%{http_code}" http://127.0.0.1:7676) -ne 307 ]; \
then echo "🚨 Smoke test failed" && exit 1; \
else echo "✅ Smoke test ok" && exit 0; \
fi)

0 comments on commit 9bf83d7

Please sign in to comment.