Skip to content

Commit fc083f1

Browse files
Merge pull request #4 from Sensirion/create-gh-workflow
adding github workflow
2 parents bc74791 + c87c4ec commit fc083f1

File tree

6 files changed

+42
-98
lines changed

6 files changed

+42
-98
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
on:
2+
push:
3+
branches:
4+
- master
5+
tags:
6+
- "^[0-9]+.[0-9]+.[0-9]+"
7+
8+
jobs:
9+
build_and_deploy:
10+
uses: sensirion/.github/.github/workflows/driver.python.pypi_publish.yml@main
11+
secrets:
12+
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
13+

.github/workflows/build-docs.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Publish Documentation
2+
on:
3+
push:
4+
branches:
5+
- master
6+
tags:
7+
- "^[0-9]+.[0-9]+.[0-9]+"
8+
9+
jobs:
10+
documentation:
11+
uses: sensirion/.github/.github/workflows/driver.python.documentation.yml@main
12+
with:
13+
build-python-version: 3.8

.github/workflows/test.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Validate and Test Python Package
2+
on:
3+
pull_request:
4+
branches:
5+
- master
6+
push:
7+
branches:
8+
- master
9+
10+
jobs:
11+
test:
12+
uses: sensirion/.github/.github/workflows/driver.python.test.yml@main
13+
with:
14+
hw-test-flag: needs_device

.gitlab-ci.yml

Lines changed: 0 additions & 80 deletions
This file was deleted.

ci/set_git_config.sh

Lines changed: 0 additions & 16 deletions
This file was deleted.

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
extras_require = {
2020
'test': [
2121
'flake8~=3.7.8',
22-
'pytest~=3.5.0',
23-
'pytest-cov~=2.5.1',
22+
'pytest~=6.2.5',
23+
'pytest-cov~=3.0.0',
2424
'sensirion-shdlc-sensorbridge~=0.1.1'
2525
],
2626
'docs': [

0 commit comments

Comments
 (0)