Skip to content

Commit

Permalink
Testing new workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tbkr committed Sep 16, 2024
1 parent ab8ebf1 commit c9eeb72
Show file tree
Hide file tree
Showing 8 changed files with 51 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
47 changes: 47 additions & 0 deletions .github/workflows/ci-python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: ci

# Controls when the workflow will run
on:

# Trigger the workflow on all pushes
push:
branches:
- 'master'
- 'develop'
tags-ignore:
- '**'

# Trigger the workflow on all pull requests
pull_request: ~

# Allow workflow to be dispatched on demand
workflow_dispatch: ~

# Trigger after public PR approved for CI
pull_request_target:
types: [labeled]

jobs:

# Calls a reusable CI workflow to qa, test & deploy the current repository.
# It will pull in all needed dependencies and produce a code coverage report on success.
# If all checks were successful and a new release tag pushed, the package will be published on PyPI.
# In case the job fails, a message will be posted to a Microsoft Teams channel.
ci:
name: ci
uses: ecmwf-actions/reusable-workflows/.github/workflows/ci-python.yml@v1
with:
codecov_upload: true
notify_teams: true
build_package_inputs: |
self_build: false
dependencies: |
ecmwf/ecbuild
ecmwf/eckit
ecmwf/metkit
ecmwf/fdb
dependency_branch: develop
secrets:
pypi_username: ${{ secrets.PYPI_USERNAME }}
pypi_password: ${{ secrets.PYPI_PASSWORD }}
incoming_webhook: ${{ secrets.MS_TEAMS_INCOMING_WEBHOOK }}
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
cffi==1.16.0
findlibs==0.0.5
pyeccodes==0.1.1
setuptools==69.0.2

0 comments on commit c9eeb72

Please sign in to comment.