Skip to content

Commit d62e78e

Browse files
committed
added workflow for have a CI tests over library submitted on github
1 parent fa3e67a commit d62e78e

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/platformio.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: PlatformIO
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
pull_request:
9+
branches:
10+
- master
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
strategy:
16+
max-parallel: 1
17+
matrix:
18+
python-version: [3.7]
19+
steps:
20+
- uses: actions/checkout@v1
21+
- name: Set up Python ${{ matrix.python-version }}
22+
uses: actions/setup-python@v1
23+
with:
24+
python-version: ${{ matrix.python-version }}
25+
- name: Install dependencies
26+
run: |
27+
python -m pip install --upgrade pip
28+
pip install -U platformio
29+
platformio update
30+
- name: Submitted library code test
31+
run: |
32+
pio run
33+

0 commit comments

Comments
 (0)