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
# run: poetry run ossrfc --help
# # Test building the package and installing it via pip3
# test-build-install:
# runs-on: ubuntu-20.04
# steps:
# - uses: actions/checkout@v2
# - name: Set up Python
# uses: actions/setup-python@v2
# with:
# python-version: "3.9"
# - name: Install poetry
# run: pip install poetry
# - name: Build package
# run: poetry build
# - name: Install package
# run: pip3 install dist/oss_red_flag_checker-*.tar.gz
# - name: Run package
# run: |
# ossrfc --version
# ossrfc --help
# Test building the package and installing it via pip3
test-build-install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pip install poetry
- name: Build package
run: poetry build
- name: Install package
run: pip3 install dist/seafile_mirror-*.tar.gz
- name: Run package
run: seafile-mirror --help
# Run tool against own repository
selftest: