first draft of section 1 tutorial #156
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
# Controls when the workflow will run | |
on: | |
# Trigger the workflow on all pushes | |
push: | |
branches: | |
- '**' | |
tags: | |
- '**' | |
# Trigger the workflow on all pull requests | |
pull_request: ~ | |
# Trigger the workflow on release creation | |
release: | |
types: | |
- created | |
# Allow workflow to be dispatched on demand | |
workflow_dispatch: ~ | |
jobs: | |
# Calls a reusable CI workflow to qa, test & deploy the current repository. | |
# We skip jobs that will result in duplicate jobs, since the code does not depend on the compiler. | |
# It will produce a code coverage report on success and upload it to the codecov service. | |
# If all checks were successful and a new release tag created, the package will be published on PyPI. | |
ci: | |
name: ci | |
uses: ecmwf-actions/reusable-workflows/.github/workflows/ci-python.yml@v1 | |
with: | |
# codecov_upload: true | |
skip_matrix_jobs: | | |
[email protected] | |
[email protected] | |
[email protected] | |
build_package_inputs: | | |
self_build: false | |
secrets: | |
pypi_username: ${{ secrets.PYPI_USERNAME }} | |
pypi_password: ${{ secrets.PYPI_PASSWORD }} |