-
Notifications
You must be signed in to change notification settings - Fork 16
51 lines (50 loc) · 1.23 KB
/
test.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
47
48
49
50
51
name: test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: [ 3.10.x]
node-version: [ 16.x ]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install graphicsmagick libxss1
pip install --upgrade pip
yarn global add typescript
yarn install
yarn build
SETUPTOOLS_SCM_PRETEND_VERSION=0.0.1 pip install .[test,parquet]
env:
CI: false
- name: Test with pytest
run: |
pip freeze
pytest
env:
CI: true
- name: Test with yarn
run: |
yarn test
env:
CI: true
- name: End to end
run: |
yarn e2e
env:
CI: true