- Add setup for package - Add docs - Add balancer implementation and test - Add CI: - Add setup action - Add test and format CI - Add CD: Publish python package to AWS
33 lines
636 B
YAML
33 lines
636 B
YAML
name: Swap encoders CI
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
permissions:
|
|
id-token: write
|
|
contents: read
|
|
|
|
env:
|
|
PYTEST_ADDOPTS: "--color=yes"
|
|
|
|
jobs:
|
|
tests:
|
|
uses: propeller-heads/propeller-protocol-lib/.github/workflows/python-tests.yaml@dc/ENG-3545-make-encoders-lib
|
|
|
|
formatting:
|
|
name: Formatting
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 15
|
|
steps:
|
|
- name: Check out Repo
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Setup Env
|
|
uses: ./.github/actions/setup_env
|
|
|
|
- name: Black Formatting
|
|
run: |
|
|
black ./propeller-swap-encoders --check --skip-magic-trailing-comma
|