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 8784601 + 0ac7afb commit d9c7adc
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 135 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
12 changes: 12 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
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
135 changes: 0 additions & 135 deletions .gitlab-ci.yml

This file was deleted.

1 change: 1 addition & 0 deletions metadata.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# driver generation metadata
generator_version: 0.33.0
model_version: 2.0.3
dg_status:
Expand Down

0 comments on commit d9c7adc

Please sign in to comment.