This repository has been archived by the owner on Sep 3, 2024. It is now read-only.
Merge branch 'BC-6724-fix-scrollbar' of https://github.com/hpi-schul-… #279
Workflow file for this run
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: 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 |