-
Notifications
You must be signed in to change notification settings - Fork 4
36 lines (34 loc) · 991 Bytes
/
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
name: Node CI
on: [push, pull_request]
jobs:
test:
name: Run test suite
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/[email protected]
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
- name: install Python runtime example
run: |
sudo apt-get install -y python-dev build-essential
sudo pip install setuptools wheel --upgrade
git submodule update --init
pip install --system -r protocol-examples/python/requirements.txt -t protocol-examples/python
- run: npm install
- run: npm test
env:
CI: true
merge-me:
name: Auto-merge dependency updates
needs: test
runs-on: ubuntu-latest
steps:
- uses: ridedott/[email protected]
with:
GITHUB_LOGIN: 'dependabot[bot]'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}