fix: could not parser error when the body is a text or empty (#51) #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Integration tests | |
on: | |
workflow_dispatch: | |
push: | |
paths-ignore: | |
- '*.md' | |
- '.github/**' | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: make build | |
build-example: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup environment | |
env: | |
CI: true | |
run: make environment-setup | |
- name: Build example | |
run: make build-example | |
test: | |
name: Unit and E2E tests | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build for testing | |
run: make build-for-testing | |
- name: Unit Test | |
run: make test-without-building | |
- name: E2E Test | |
env: | |
E2E_API_ENDPOINT: ${{ secrets.E2E_API_ENDPOINT }} | |
E2E_API_KEY: ${{ secrets.E2E_API_KEY }} | |
run: make e2e-without-building |