Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

adjusting used mongo version #284

adjusting used mongo version

adjusting used mongo version #284

Workflow file for this run

name: Test e2e
on: [push]
jobs:
end-to-end-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set BRANCH_NAME
run: |
echo ${GITHUB_REF#refs/heads/}
branch_name=${GITHUB_REF#refs/heads/}
echo "BRANCH_NAME=$branch_name" >> $GITHUB_ENV
- name: run git change
run: |
git config --global url."https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/".insteadOf "https://github.com/"
git config --global url."https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/".insteadOf "ssh://[email protected]/"
git config --global url."https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/".insteadOf "[email protected]:"
- name: execute tests
run: curl "https://raw.githubusercontent.com/hpi-schul-cloud/end-to-end-tests/main/scripts/ci/fetch.github.sh" | bash
env:
ES_USER: ${{ secrets.ES_USER }}
ES_PASSWORD: ${{ secrets.ES_PASSWORD }}
SECRET_ES_MERLIN_USERNAME: ${{ secrets.SECRET_ES_MERLIN_USERNAME }}
SECRET_ES_MERLIN_PW: ${{ secrets.SECRET_ES_MERLIN_PW }}
DOCKER_ID: ${{ secrets.DOCKER_ID }}
MY_DOCKER_PASSWORD: ${{ secrets.MY_DOCKER_PASSWORD }}
- uses: actions/upload-artifact@v3
name: upload results
if: always()
with:
name: report
path: end-to-end-tests/reports