clean up test workflow
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
# SPDX-FileCopyrightText: 2023 DB Systel GmbH
|
# SPDX-FileCopyrightText: 2023 DB Systel GmbH
|
||||||
|
# SPDX-FileCopyrightText: 2023 Max Mehl <https://mehl.mx>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
@@ -11,28 +12,6 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# # Test using the tool via poetry on different OSes and python versions
|
|
||||||
# test-os-python-matrix:
|
|
||||||
# runs-on: ${{ matrix.os }}
|
|
||||||
# strategy:
|
|
||||||
# max-parallel: 10
|
|
||||||
# # do not abort the whole test job if one combination in the matrix fails
|
|
||||||
# fail-fast: false
|
|
||||||
# matrix:
|
|
||||||
# python-version: ["3.9", "3.10", "3.11"]
|
|
||||||
# os: [ubuntu-20.04]
|
|
||||||
# include:
|
|
||||||
# - python-version: "3.9"
|
|
||||||
# os: macos-latest
|
|
||||||
# - python-version: "3.9"
|
|
||||||
# os: windows-latest
|
|
||||||
|
|
||||||
# steps:
|
|
||||||
# - uses: actions/checkout@v2
|
|
||||||
# - uses: ./.gitea/actions/poetrybuild
|
|
||||||
# - name: Execute seafile-mirror
|
|
||||||
# run: poetry run ossrfc --help
|
|
||||||
|
|
||||||
# Test building the package and installing it via pip3
|
# Test building the package and installing it via pip3
|
||||||
test-build-install:
|
test-build-install:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -70,7 +49,7 @@ jobs:
|
|||||||
- name: Sync the library
|
- name: Sync the library
|
||||||
run: poetry run seafile-mirror -c tests -v
|
run: poetry run seafile-mirror -c tests -v
|
||||||
- name: Attempt to find expected string in library
|
- name: Attempt to find expected string in library
|
||||||
run: grep "__ci_test_expectXXX__" tests/ci-test/testfile.txt
|
run: grep "__ci_test_expect__" tests/ci-test/testfile.txt
|
||||||
|
|
||||||
# PYLINT / BLACK / ISORT / MYPY
|
# PYLINT / BLACK / ISORT / MYPY
|
||||||
pylint:
|
pylint:
|
||||||
|
|||||||
Reference in New Issue
Block a user