Skip to content

Commit 51f5a63

Browse files
authored
Merge pull request #28 from ev3dev-python-tools/internship-niels-okker
Internship niels okker
2 parents ed64daa + feaef40 commit 51f5a63

178 files changed

Lines changed: 9741 additions & 3962 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: ev3dev CI for 3 operating systems
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
matrix:
10+
os: [macos-latest, ubuntu-latest, windows-latest]
11+
include:
12+
- os: macos-latest
13+
OS_DEPENDENCY: ''
14+
- os: ubuntu-latest
15+
OS_DEPENDENCY: sudo apt update; sudo apt-get install libasound2-dev espeak freeglut3-dev
16+
- os: windows-latest
17+
OS_DEPENDENCY: ''
18+
steps:
19+
- uses: actions/checkout@v2
20+
- name: Set up Python 3.7
21+
uses: actions/setup-python@v1
22+
with:
23+
python-version: 3.7
24+
- name: Install dependencies
25+
run: |
26+
${{matrix.OS_DEPENDENCY}}
27+
python -m pip install --upgrade pip
28+
pip install .
29+
- name: Lint with pylint
30+
run: |
31+
pip install pylint
32+
pylint ev3dev2simulator
33+
- name: Test with unittest
34+
uses: GabrielBB/xvfb-action@v1.0
35+
with:
36+
run: |
37+
python -m unittest discover .

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ __pycache__/
77
*.sw?
88
/dist/
99
*.egg-info/
10+
*.pyc
11+
.vscode/*

0 commit comments

Comments
 (0)