File tree 2 files changed +39
-11
lines changed
2 files changed +39
-11
lines changed Original file line number Diff line number Diff line change
1
+ name : Tests / Code Coverage
2
+ on : [push]
3
+ jobs :
4
+ build :
5
+ runs-on : ubuntu-latest
6
+ environment : ci
7
+ strategy :
8
+ matrix :
9
+ node-version : ['20.x', '21.x']
10
+ python-version : ['3.9', '3.10', '3.11']
11
+ steps :
12
+ - uses : actions/checkout@v4
13
+
14
+ # Python environment
15
+ - name : Setup Python
16
+ uses : actions/setup-python@v4
17
+ with :
18
+ python-version : ${{ matrix.python-version }}
19
+ - name : Install Coveralls binary
20
+ run : curl -L https://coveralls.io/coveralls-linux.tar.gz | tar -xz -C .
21
+ - name : Install pip dependencies
22
+ run : pip install semgrep
23
+
24
+ # Node.js environment
25
+ - name : Setup Node.js ${{ matrix.node-version }}
26
+ uses : actions/setup-node@v3
27
+ with :
28
+ node-version : ${{ matrix.node-version }}
29
+ - name : Install NPM dependencies
30
+ run : npm ci
31
+ - name : Run ESLint
32
+ run : npm run lint
33
+ - name : Run Mocha
34
+ run : npm run test-all
35
+
36
+ # - name: Run Coveralls
37
+ # env:
38
+ # COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
39
+ # run: npm run coverage
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments