-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: add system tests using pytest-mh framework
Reviewed-by: Jakub Vávra <[email protected]>
- Loading branch information
Showing
71 changed files
with
15,086 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Documentation | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
system-tests: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup virtual environment | ||
working-directory: ./src/tests/system | ||
run: | | ||
sudo apt-get update | ||
# Install dependencies for python-ldap | ||
sudo apt-get install -y libsasl2-dev python3-dev libldap2-dev libssl-dev | ||
pip3 install virtualenv | ||
python3 -m venv .venv | ||
source .venv/bin/activate | ||
pip3 install -r ./requirements.txt | ||
pip3 install -r ./docs/requirements.txt | ||
- name: Build docs | ||
working-directory: ./src/tests/system | ||
run: | | ||
source .venv/bin/activate | ||
cd docs | ||
make html SPHINXOPTS="-W --keep-going" | ||
result: | ||
name: All documentation builds correctly | ||
if: ${{ always() }} | ||
runs-on: ubuntu-latest | ||
needs: [system-tests] | ||
steps: | ||
- name: Fail on failure | ||
if: ${{ needs.system-tests.result != 'success' }} | ||
run: exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.