diff --git a/.github/workflows/ci-python.yml b/.github/workflows/ci-python.yml new file mode 100644 index 0000000..7dee350 --- /dev/null +++ b/.github/workflows/ci-python.yml @@ -0,0 +1,41 @@ +name: ci-python + +on: + # Trigger the workflow on push to master or develop, except tag creation + push: + branches: + - 'master' + - 'develop' + tags-ignore: + - '**' + + # Trigger the workflow on pull request + pull_request: ~ + + # Trigger the workflow manually + workflow_dispatch: ~ + + # Trigger after public PR approved for CI + pull_request_target: + types: [labeled] + +jobs: + ci: + name: ci + uses: ecmwf-actions/reusable-workflows/.github/workflows/ci-python.yml@v1 + with: + codecov_upload: true + notify_teams: true + build_package_inputs: | + dependencies: | + ecmwf/ecbuild + ecmwf/eckit + ecmwf/metkit + ecmwf/fdb + ecmwf/gribjump + dependency_branch: develop + self_build: false + secrets: + pypi_username: ${{ secrets.PYPI_USERNAME }} + pypi_password: ${{ secrets.PYPI_PASSWORD }} + incoming_webhook: ${{ secrets.MS_TEAMS_INCOMING_WEBHOOK }}