Test Failing Integration test #3
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 and Run Integration Tests | |
on: | |
push: | |
# branches: [main]/ | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build Production image | |
run: docker image build -t femr . | |
- name: Build Integration Test Container | |
run: cd integration_test; | |
docker image build -t tester . | |
- name: Run tests | |
run: | | |
docker run \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
-e FEMR_IMAGE_NAME="femr" \ | |
tester |