Skip to content

Commit

Permalink
Merge pull request #1 from Sensirion/create-gh-workflow
Browse files Browse the repository at this point in the history
adding github workflow
  • Loading branch information
Sensirion-Bot committed May 13, 2024
2 parents b1a7227 + dc7c586 commit da714f4
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 91 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
on:
push:
branches:
- master
tags:
- "^[0-9]+.[0-9]+.[0-9]+"

jobs:
build_and_deploy:
uses: sensirion/.github/.github/workflows/driver.python.pypi_publish.yml@main
secrets:
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}

13 changes: 13 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Publish Documentation
on:
push:
branches:
- master
tags:
- "^[0-9]+.[0-9]+.[0-9]+"

jobs:
documentation:
uses: sensirion/.github/.github/workflows/driver.python.documentation.yml@main
with:
build-python-version: 3.8
14 changes: 14 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Validate and Test Python Package
on:
pull_request:
branches:
- master
push:
branches:
- master

jobs:
test:
uses: sensirion/.github/.github/workflows/driver.python.test.yml@main
with:
hw-test-flag: needs_device
73 changes: 0 additions & 73 deletions .gitlab-ci.yml

This file was deleted.

16 changes: 0 additions & 16 deletions ci/set_git_config.sh

This file was deleted.

4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
'test': [
'flake8~=3.9.2',
'mock~=3.0.0',
'pytest~=4.6.11',
'pytest-cov~=2.6.0',
'pytest~=6.2.5',
'pytest-cov~=3.0.0',
'sensirion-shdlc-sensorbridge~=0.1.1',
],
},
Expand Down

0 comments on commit da714f4

Please sign in to comment.