-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert e2e and use github hosted runners (#883)
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
- Loading branch information
1 parent
4600415
commit 5840346
Showing
3 changed files
with
97 additions
and
97 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,54 @@ | ||
# 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 | ||
# - name: test | ||
# uses: nick-fields/retry@v2 | ||
# with: | ||
# timeout_minutes: 20 | ||
# max_attempts: 3 | ||
# command: | | ||
# . /rmf_demos_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 | ||
name: Dashboard End-to-End | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
env: | ||
CI: true | ||
jobs: | ||
dashboard-e2e: | ||
name: Dashboard e2e | ||
runs-on: ubuntu-22.04 | ||
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 | ||
- name: test | ||
uses: nick-fields/retry@v2 | ||
with: | ||
timeout_minutes: 20 | ||
max_attempts: 3 | ||
command: | | ||
. /rmf_demos_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 |
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
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