Skip to content

Commit

Permalink
ci(build-main): temporary disable tests executed in BrowserStack
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperITMan committed Jan 17, 2024
1 parent 00763da commit a8c738a
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,37 +173,37 @@ jobs:
path: showcase/dist
if: env.IS_MAIN_ENVIRONMENT == 1

- name: BrowserStack Env Setup
uses: browserstack/github-actions/setup-env@master
with:
username: ${{ secrets.BROWSERSTACK_USERNAME }}
access-key: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
project-name: "Stark Showcase"
if: env.IS_MAIN_ENVIRONMENT == 1 && github.event_name == 'push'

- name: BrowserStack Local Tunnel Setup
uses: browserstack/github-actions/setup-local@master
with:
local-testing: "start"
local-logging-level: "all-logs"
local-identifier: "github-actions-${{ github.run_number }}"
if: env.IS_MAIN_ENVIRONMENT == 1 && github.event_name == 'push'

- name: Running application under test
run: npm run server:prod:ci &
if: env.IS_MAIN_ENVIRONMENT == 1 && github.event_name == 'push'
working-directory: showcase

- name: Running test on BrowserStack
run: npm run protractor:browserstack
if: env.IS_MAIN_ENVIRONMENT == 1 && github.event_name == 'push'
working-directory: showcase

- name: BrowserStackLocal Stop
uses: browserstack/github-actions/setup-local@master
with:
local-testing: stop
if: env.IS_MAIN_ENVIRONMENT == 1 && github.event_name == 'push'
# - name: BrowserStack Env Setup
# uses: browserstack/github-actions/setup-env@master
# with:
# username: ${{ secrets.BROWSERSTACK_USERNAME }}
# access-key: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
# project-name: "Stark Showcase"
# if: env.IS_MAIN_ENVIRONMENT == 1 && github.event_name == 'push'
#
# - name: BrowserStack Local Tunnel Setup
# uses: browserstack/github-actions/setup-local@master
# with:
# local-testing: "start"
# local-logging-level: "all-logs"
# local-identifier: "github-actions-${{ github.run_number }}"
# if: env.IS_MAIN_ENVIRONMENT == 1 && github.event_name == 'push'
#
# - name: Running application under test
# run: npm run server:prod:ci &
# if: env.IS_MAIN_ENVIRONMENT == 1 && github.event_name == 'push'
# working-directory: showcase
#
# - name: Running test on BrowserStack
# run: npm run protractor:browserstack
# if: env.IS_MAIN_ENVIRONMENT == 1 && github.event_name == 'push'
# working-directory: showcase
#
# - name: BrowserStackLocal Stop
# uses: browserstack/github-actions/setup-local@master
# with:
# local-testing: stop
# if: env.IS_MAIN_ENVIRONMENT == 1 && github.event_name == 'push'

- name: Generate starter docs coverage
run: npm run docs:starter:coverage
Expand Down

0 comments on commit a8c738a

Please sign in to comment.