Skip to content

Commit 90b8816

Browse files
committed
Restore Sauce Labs browser tests
Reusing the abstract-leveldown account for now.
1 parent 0326629 commit 90b8816

File tree

3 files changed

+30
-8
lines changed

3 files changed

+30
-8
lines changed

.airtap.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
providers:
22
- airtap-sauce
3-
- airtap-default
43

54
browsers:
65
- name: chrome

.github/workflows/sauce.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Sauce Labs
2+
on: push
3+
permissions:
4+
contents: read
5+
concurrency: sauce-labs
6+
jobs:
7+
test:
8+
name: Test
9+
if: ${{ github.actor != 'dependabot[bot]' }}
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v3
14+
- name: Set up node
15+
uses: actions/setup-node@v3
16+
with:
17+
node-version: 16
18+
- name: Install
19+
run: npm install
20+
env:
21+
# Download Sauce Connect binary now instead of on first run
22+
SAUCE_CONNECT_DOWNLOAD_ON_INSTALL: true
23+
- name: Add host
24+
run: echo "127.0.0.1 airtap.local" | sudo tee -a /etc/hosts
25+
- name: Test
26+
run: npm run test-browsers
27+
env:
28+
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
29+
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -189,13 +189,9 @@ const xyz = db.sublevel<string, any>('xyz', { valueEncoding: 'json' })
189189

190190
## Supported Platforms
191191

192-
We aim to support Active LTS and Current Node.js releases as well as browsers. Supported runtime environments may differ per implementation.
193-
194-
<!--
195-
As far as `abstract-level` goes, the following browsers are supported and continuously tested.
192+
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.
196193

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

200196
## Public API For Consumers
201197

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

1405-
<!--
14061401
## Big Thanks
14071402

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

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

14131407
## Donate
14141408

0 commit comments

Comments
 (0)