-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (36 loc) · 1.14 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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: |
build_package_inputs: |
self_build: false
secrets:
pypi_username: ${{ secrets.PYPI_USERNAME }}
pypi_password: ${{ secrets.PYPI_PASSWORD }}