-
Notifications
You must be signed in to change notification settings - Fork 25
46 lines (36 loc) · 943 Bytes
/
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
46
name: Open Pryv.io CI
on:
pull_request:
branches:
- '*'
push:
branches:
- '*'
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [18.16.0]
steps:
- name: Install `just`
uses: extractions/setup-just@v2
- name: Checkout repository with submodules
uses: actions/checkout@v4
- name: Install Node.js with version ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Setup Open Pryv.io
run: |
npm run setup-dev-env
npm install
sudo apt-get install graphicsmagick
- name: Run tests on Open Pryv.io with coverage
run: |
IS_CI=true just test-cover-lcov
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: pryv/open-pryv.io