-
Notifications
You must be signed in to change notification settings - Fork 265
39 lines (36 loc) · 982 Bytes
/
python-client.yml
File metadata and controls
39 lines (36 loc) · 982 Bytes
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
---
name: Python client checks, package build and deployment
on:
workflow_dispatch:
push:
tags:
- 'client-*'
branches:
- develop
- master
paths:
- client/**
- .github/workflows/python-client.yml
pull_request:
paths:
- client/**
- .github/workflows/python-client.yml
jobs:
lint:
name: Call Ledger Python linters
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_python_checks.yml@v1
with:
run_linter: flake8
run_type_check: true
src_directory: src
setup_directory: client
req_directory: client
package_and_deploy:
name: Build and deploy the Ethereum client Python package
needs: [lint]
uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_pypi_deployment.yml@v1
with:
package_name: ledger_app_clients.ethereum
publish: ${{ startsWith(github.ref, 'refs/tags/') }}
package_directory: ./client/
release: false