-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (42 loc) · 1.03 KB
/
ci.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
name: ci
on:
pull_request:
branches:
- main
push:
branches:
- main
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
matrix:
os: [macos-12, ubuntu-22.04, windows-2022]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v4.1.1
- name: Use Node version defined in manifest
uses: volta-cli/action@v4
- name: Node.js version
run: node -v
- name: npm version
run: npm -v
- name: Setup Python
uses: actions/setup-python@v4.6.1
with:
python-version: '3.10'
cache: pipenv
- name: Install Node dependencies
run: npm ci
- name: Run Node tests
run: npm t
- name: Install pipenv
run: pip install pipenv
- name: Install Pip dependencies
run: python3 -m pipenv install
- name: Run Python tests
run: python3 -m pipenv run pytest ./py/selenium/builder/*.py