-
Notifications
You must be signed in to change notification settings - Fork 71
46 lines (37 loc) · 1.04 KB
/
browsers.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
on:
push:
branches:
- master
pull_request:
name: Browser Tests
jobs:
chore:
name: Browser Tests
runs-on: ubuntu-latest
strategy:
matrix:
browser: [firefox]
steps:
# Disabling IPv6 is necessary since Selenium doesn't listen on the IPv6
# interface, but node versions >16 resolve `localhost` to the IPv6
# loopback address (::1) by default.
- name: Disable IPv6
run: sudo sysctl -w net.ipv6.conf.lo.disable_ipv6=1
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Print environment
run: |
node --version
npm --version
python --version
pip --version
- name: Install Node dependencies
run: npm ci
- name: Install Python dependencies
run: pip install kinto kinto-attachment
- name: Run tests
run: npm run test:${{ matrix.browser }}