clean up test workflow

This commit is contained in:
2024-01-16 15:45:06 +01:00
parent 9443255911
commit 98dc4a4360

View File

@@ -1,4 +1,5 @@
# SPDX-FileCopyrightText: 2023 DB Systel GmbH
# SPDX-FileCopyrightText: 2023 Max Mehl <https://mehl.mx>
#
# SPDX-License-Identifier: Apache-2.0
@@ -11,28 +12,6 @@ on:
pull_request:
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-build-install:
runs-on: ubuntu-latest
@@ -70,7 +49,7 @@ jobs:
- name: Sync the library
run: poetry run seafile-mirror -c tests -v
- 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: