Skip to content

remove test

remove test #185

Workflow file for this run

name: sauce-p3
on: [push]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Set up Node 16.x
uses: actions/setup-node@v4
with:
node-version: 16.x
- name: Check out the (Polymer 2) source code
uses: actions/checkout@v2
- name: Install global npm dependencies
# bower and polymer-modulizer are needed to run the Polymer 3 conversion step
run: "npm install --quiet --no-progress --global bower magi-cli polymer-modulizer"
- name: Convert the source code to Polymer 3
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
magi p3-convert --out . --import-style=name
# workaround for running tests on Android on SauceLabs (see wct.conf.js)
- name: Add 'localhost-for-saucelabs' to /etc/hosts
run: echo "127.0.0.1 localhost-for-saucelabs" | sudo tee -a /etc/hosts
- name: Run unit tests [Desktop / Batch 1]
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
run: npm test -- --env saucelabs --suites batch1
- name: Run unit tests [Desktop / Batch 2]
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
run: npm test -- --env saucelabs --suites batch2
- name: Run unit tests [Desktop / Batch 3]
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
run: npm test -- --env saucelabs --suites batch3
- name: Run unit tests [Desktop / Batch 4]
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
run: npm test -- --env saucelabs --suites batch4
- name: Run unit tests [Desktop / Batch 5]
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
run: npm test -- --env saucelabs --suites batch5