Skip to content

Commit

Permalink
Update Github Actions Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lbeckman314 committed Jan 3, 2025
1 parent eea02c5 commit 510df2a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: Go
name: Go Build + Test

on:
push:
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
- main

jobs:
lint:
name: lint
test:
name: Build + Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -23,10 +23,12 @@ jobs:
./server &
curl --header "Authorization: Bearer Alyssa P. Hacker" \
# TODO: Capture output and compare with expected output
curl --silent --header "Authorization: Bearer Alyssa P. Hacker" \
--data @example-tasks/hello-world.json \
http://localhost:8080
curl --header "Authorization: Bearer Foo" \
curl --silent --header "Authorization: Bearer Foo" \
--data @example-tasks/hello-world.json \
http://localhost:8080

0 comments on commit 510df2a

Please sign in to comment.