extend tests
Some checks failed
Test suites / selftest (pull_request) Successful in 24s
Test suites / reuse (pull_request) Successful in 6s
Test suites / pylint (pull_request) Has been cancelled
Test suites / formatting (pull_request) Has been cancelled
Test suites / mypy (pull_request) Has been cancelled
Some checks failed
Test suites / selftest (pull_request) Successful in 24s
Test suites / reuse (pull_request) Successful in 6s
Test suites / pylint (pull_request) Has been cancelled
Test suites / formatting (pull_request) Has been cancelled
Test suites / mypy (pull_request) Has been cancelled
This commit is contained in:
@@ -60,50 +60,43 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
uses: ./.gitea/actions/poetrybuild
|
uses: ./.gitea/actions/poetrybuild
|
||||||
# - name: Install dependencies
|
|
||||||
# run: |
|
|
||||||
# pip install poetry
|
|
||||||
# poetry install --no-interaction
|
|
||||||
- name: Try to run app
|
- name: Try to run app
|
||||||
run: poetry run seafile-mirror --help
|
run: poetry run seafile-mirror --help
|
||||||
|
|
||||||
# pytest:
|
# PYLINT / BLACK / ISORT / MYPY
|
||||||
# runs-on: ubuntu-20.04
|
pylint:
|
||||||
# steps:
|
runs-on: ubuntu-20.04
|
||||||
# - uses: actions/checkout@v2
|
steps:
|
||||||
# - uses: ./.github/actions/poetrybuild
|
- uses: actions/checkout@v2
|
||||||
# - name: Test with pytest
|
- name: Install dependencies
|
||||||
# run: poetry run pytest
|
uses: ./.gitea/actions/poetrybuild
|
||||||
|
- name: Lint with pylint
|
||||||
|
run: poetry run pylint seafile_mirror
|
||||||
|
|
||||||
# pylint:
|
formatting:
|
||||||
# runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
# steps:
|
steps:
|
||||||
# - uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
# - uses: ./.github/actions/poetrybuild
|
- name: Install dependencies
|
||||||
# - name: Lint with pylint
|
uses: ./.gitea/actions/poetrybuild
|
||||||
# run: poetry run pylint ossrfc/ tests/
|
- name: Test formatting with isort and black
|
||||||
|
run: |
|
||||||
|
poetry run isort --check seafile_mirror/
|
||||||
|
poetry run black .
|
||||||
|
|
||||||
# formatting:
|
mypy:
|
||||||
# runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
# steps:
|
steps:
|
||||||
# - uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
# - uses: ./.github/actions/poetrybuild
|
- name: Install dependencies
|
||||||
# - name: Test formatting with isort and black
|
uses: ./.gitea/actions/poetrybuild
|
||||||
# run: |
|
- name: Test typing with mypy
|
||||||
# poetry run isort --check ossrfc/
|
run: poetry run mypy
|
||||||
# poetry run black .
|
|
||||||
|
|
||||||
# mypy:
|
|
||||||
# runs-on: ubuntu-20.04
|
|
||||||
# steps:
|
|
||||||
# - uses: actions/checkout@v2
|
|
||||||
# - uses: ./.github/actions/poetrybuild
|
|
||||||
# - name: Test typing with mypy
|
|
||||||
# run: poetry run mypy
|
|
||||||
|
|
||||||
|
# REUSE COMPLIANCE
|
||||||
reuse:
|
reuse:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Check REUSE Compliance
|
- name: Check REUSE Compliance
|
||||||
uses: https://github.com/fsfe/reuse-action@v2
|
uses: https://github.com/fsfe/reuse-action@v2
|
||||||
|
|||||||
Reference in New Issue
Block a user