Integration tests #11
Workflow file for this run
This file contains hidden or 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: Integration testing | |
| on: | |
| push: | |
| branches: [ main, develop ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| integration-tests: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| strategy: | |
| matrix: | |
| include: | |
| - build-dir: quickstart-agent | |
| - build-dir: simple-hitl-agent | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Build Docker image (${{ matrix.build-dir }}) | |
| run: | | |
| docker build -f testcases/${{ matrix.build-dir }}/Dockerfile \ | |
| -t ${{ matrix.build-dir }}:test \ | |
| --build-arg CLIENT_ID="${{ secrets.ALPHA_TEST_CLIENT_ID }}" \ | |
| --build-arg CLIENT_SECRET="${{ secrets.ALPHA_TEST_CLIENT_SECRET }}" \ | |
| --build-arg BASE_URL="${{ secrets.ALPHA_BASE_URL }}" \ | |
| . |