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 authored May 13, 2024
2 parents 40e954b + 74b31e2 commit d0c9a60
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 103 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
87 changes: 0 additions & 87 deletions .gitlab-ci.yml

This file was deleted.

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

This file was deleted.

0 comments on commit d0c9a60

Please sign in to comment.