Skip to content

Commit

Permalink
Restore Sauce Labs browser tests
Browse files Browse the repository at this point in the history
Reusing the abstract-leveldown account for now.
  • Loading branch information
vweevers committed Mar 13, 2022
1 parent 0326629 commit 90b8816
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 8 deletions.
1 change: 0 additions & 1 deletion .airtap.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
providers:
- airtap-sauce
- airtap-default

browsers:
- name: chrome
Expand Down
29 changes: 29 additions & 0 deletions .github/workflows/sauce.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Sauce Labs
on: push
permissions:
contents: read
concurrency: sauce-labs
jobs:
test:
name: Test
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install
run: npm install
env:
# Download Sauce Connect binary now instead of on first run
SAUCE_CONNECT_DOWNLOAD_ON_INSTALL: true
- name: Add host
run: echo "127.0.0.1 airtap.local" | sudo tee -a /etc/hosts
- name: Test
run: npm run test-browsers
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -189,13 +189,9 @@ const xyz = db.sublevel<string, any>('xyz', { valueEncoding: 'json' })

## Supported Platforms

We aim to support Active LTS and Current Node.js releases as well as browsers. Supported runtime environments may differ per implementation.

<!--
As far as `abstract-level` goes, the following browsers are supported and continuously tested.
We aim to support Active LTS and Current Node.js releases as well as browsers. Supported runtime environments may differ per implementation. As far as `abstract-level` goes, the following browsers are supported and continuously tested.

[![Sauce Test Status](https://app.saucelabs.com/browser-matrix/abstract-leveldown.svg)](https://app.saucelabs.com/u/abstract-leveldown)
-->

## Public API For Consumers

Expand Down Expand Up @@ -1402,13 +1398,11 @@ npm install abstract-level
See the [Contribution Guide](https://github.com/Level/community/blob/master/CONTRIBUTING.md) for more details.

<!--
## Big Thanks

Cross-browser Testing Platform and Open Source ♥ Provided by [Sauce Labs](https://saucelabs.com).

[![Sauce Labs logo](./sauce-labs.svg)](https://saucelabs.com)
-->

## Donate

Expand Down

0 comments on commit 90b8816

Please sign in to comment.