Hammer/new on cancel (#890) #1648
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: Dashboard End-to-End | |
# on: | |
# pull_request: | |
# push: | |
# branches: | |
# - main | |
# env: | |
# CI: true | |
# jobs: | |
# dashboard-e2e: | |
# name: Dashboard e2e | |
# runs-on: self-hosted | |
# container: | |
# image: ghcr.io/${{ github.repository }}/e2e | |
# credentials: | |
# username: ${{ github.repository_owner }} | |
# password: ${{ secrets.GITHUB_TOKEN }} | |
# options: --privileged --ipc=host | |
# defaults: | |
# run: | |
# shell: bash | |
# working-directory: packages/dashboard-e2e | |
# env: | |
# BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }} | |
# BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }} | |
# BROWSERSTACK_BUILD: ${{ github.head_ref }}:${{ github.event.number }} | |
# RMW_IMPLEMENTATION: rmw_cyclonedds_cpp | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - name: setup python | |
# run: apt update && apt install -y python3-venv python-is-python3 | |
# - name: install rmw-cyclonedds-cpp | |
# run: apt install -y ros-humble-rmw-cyclonedds-cpp | |
# - name: bootstrap | |
# uses: ./.github/actions/bootstrap | |
# with: | |
# package: rmf-dashboard-e2e | |
# skip-build: true | |
# # Somehow this step is not needed | |
# # - name: overlay | |
# # uses: ./.github/actions/overlay | |
# - name: test | |
# uses: nick-fields/retry@v2 | |
# with: | |
# timeout_minutes: 20 | |
# max_attempts: 3 | |
# command: | | |
# . /rmf_demos_ws/install/setup.bash | |
# . ~/hammer_overlay_ws/install/setup.bash | |
# cd packages/dashboard-e2e | |
# pnpm test | |
# shell: bash | |
# - name: upload artifacts | |
# uses: actions/upload-artifact@v2 | |
# if: always() | |
# with: | |
# name: artifacts | |
# path: packages/dashboard-e2e/artifacts |