-
-
Notifications
You must be signed in to change notification settings - Fork 13
43 lines (36 loc) · 1005 Bytes
/
main.yaml
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
name: SeleniumTestability tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest]
python: [3.8.13]
browser: [chrome, firefox]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: "${{ matrix.python }}"
cache: 'pip'
cache-dependency-path: 'requirements-dev.txt'
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Build javascript aassets
run: |
npm install
npm run build
- name: Running Acceptance Tests
run: |
inv test --skipci --xunit acceptance_tests.xml