mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-27 07:59:30 +01:00
* update poetry to 1.5.1 inside workflows * update lock file to poetry 1.5.1 * test run 1 * test run 2 * run 3 * try different sortorder * cli should use --no-root here are the refereneces. https://python-poetry.org/docs/basic-usage/#installing-dependencies-only https://pip.pypa.io/en/stable/topics/local-project-installs/#regular-installs * cache migrations aswell * test flake * optimize docker image for regtest building * playng * remove test run 1 * remove run 2 * remove run 3 * run 4 * run 6 * run 7 * run 8 * run 9 * run 10
27 lines
711 B
YAML
27 lines
711 B
YAML
name: pylint
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.9"]
|
|
poetry-version: ["1.5.1"]
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Set up Poetry ${{ matrix.poetry-version }}
|
|
uses: abatilo/actions-poetry@v2
|
|
with:
|
|
poetry-version: ${{ matrix.poetry-version }}
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
cache: "poetry"
|
|
- name: Install dependencies
|
|
run: |
|
|
poetry install --no-root
|
|
- name: Run tests
|
|
run: make pylint
|