add step for test build and install
Some checks failed
Test suites / test-build-install (pull_request) Successful in 29s
Test suites / selftest (pull_request) Successful in 25s
Test suites / pylint (pull_request) Failing after 29s
Test suites / formatting (pull_request) Successful in 26s
Test suites / mypy (pull_request) Successful in 25s
Test suites / reuse (pull_request) Successful in 5s

This commit is contained in:
2024-01-16 14:54:40 +01:00
parent 83567afa2a
commit 50f6064fa8

View File

@@ -33,25 +33,19 @@ jobs:
# - name: Execute seafile-mirror # - name: Execute seafile-mirror
# run: poetry run ossrfc --help # 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-20.04 runs-on: ubuntu-latest
# steps: steps:
# - uses: actions/checkout@v2 - uses: actions/checkout@v4
# - name: Set up Python - name: Install poetry
# uses: actions/setup-python@v2 run: pip install poetry
# with: - name: Build package
# python-version: "3.9" run: poetry build
# - name: Install poetry - name: Install package
# run: pip install poetry run: pip3 install dist/seafile_mirror-*.tar.gz
# - name: Build package - name: Run package
# run: poetry build run: seafile-mirror --help
# - name: Install package
# run: pip3 install dist/oss_red_flag_checker-*.tar.gz
# - name: Run package
# run: |
# ossrfc --version
# ossrfc --help
# Run tool against own repository # Run tool against own repository
selftest: selftest: