Skip to content

Commit

Permalink
fix makefile formatting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnzhou committed Jan 7, 2024
1 parent 7b8758e commit ed373d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,3 @@ jobs:
run: make unit_test
- name: Run Integration Tests
run: make integration_test
- name: Upload Test logs
uses: actions/upload-artifact@v3
with:
name: test log
path: |
unit_test.log
integration_test.log
retention-days: 7
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ test:

.PHONY: unit_test
unit_test:
swift test --skip IntegrationTests > unit_test.log
swift test --skip IntegrationTests

.PHONY: integration_test
integration_test:
make setup_server
sleep 5
curl http://localhost:8080
swift test -Xswiftc -DINTEGRATION_TEST --filter IntegrationTests > integration_test.log
curl http://localhost:8080
swift test -Xswiftc -DINTEGRATION_TEST --filter IntegrationTests
make teardown_server


Expand Down

0 comments on commit ed373d5

Please sign in to comment.