Skip to content

Commit

Permalink
Merge pull request #13 from BouyguesTelecom/workflow/add-test
Browse files Browse the repository at this point in the history
Workflow/add test
  • Loading branch information
AmelieLoulergue authored Nov 26, 2024
2 parents 340e0e4 + b6f9694 commit 3a8beaa
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,35 @@ env:
CHART_PATH: ./opensource

jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install bru (Bruno)
run: |
npm install -g @usebruno/cli
- name: Run docker-compose
uses: hoverkraft-tech/[email protected]
with:
compose-file: "./docker-compose.yml"
- name: Copy tmp/images for tests
run: |
cp -r local/images /tmp/images
continue-on-error: false
- name: Run Tests
run: |
cd ${{ github.workspace }}/TESTS
bru run flows/ --env LOCAL -r --bail
continue-on-error: false

- name: Report test results
if: failure()
run: echo "Tests failed."

determine-version:
runs-on: ubuntu-latest
needs: tests
outputs:
new_version: ${{ steps.set_output.outputs.new_version }}

Expand Down

0 comments on commit 3a8beaa

Please sign in to comment.