|
@ -24,10 +24,11 @@ jobs: |
|
|
- name: Install dependencies |
|
|
- name: Install dependencies |
|
|
run: | |
|
|
run: | |
|
|
python -m pip install --upgrade pip |
|
|
python -m pip install --upgrade pip |
|
|
python -m pip install tox |
|
|
|
|
|
|
|
|
python -m pip install poetry |
|
|
|
|
|
poetry install |
|
|
- name: Check linting, formatting |
|
|
- name: Check linting, formatting |
|
|
run: | |
|
|
run: | |
|
|
tox -e check |
|
|
|
|
|
|
|
|
poetry run tox -e check |
|
|
|
|
|
|
|
|
check-docs: |
|
|
check-docs: |
|
|
runs-on: ubuntu-latest |
|
|
runs-on: ubuntu-latest |
|
@ -43,10 +44,11 @@ jobs: |
|
|
- name: Install dependencies |
|
|
- name: Install dependencies |
|
|
run: | |
|
|
run: | |
|
|
python -m pip install --upgrade pip |
|
|
python -m pip install --upgrade pip |
|
|
python -m pip install tox |
|
|
|
|
|
|
|
|
python -m pip install poetry |
|
|
|
|
|
poetry install |
|
|
- name: Check documentation build |
|
|
- name: Check documentation build |
|
|
run: | |
|
|
run: | |
|
|
tox -e docs |
|
|
|
|
|
|
|
|
poetry run tox -e docs |
|
|
|
|
|
|
|
|
test: |
|
|
test: |
|
|
runs-on: ubuntu-latest |
|
|
runs-on: ubuntu-latest |
|
@ -67,10 +69,11 @@ jobs: |
|
|
- name: Install dependencies |
|
|
- name: Install dependencies |
|
|
run: | |
|
|
run: | |
|
|
python -m pip install --upgrade pip |
|
|
python -m pip install --upgrade pip |
|
|
python -m pip install tox |
|
|
|
|
|
|
|
|
python -m pip install poetry |
|
|
|
|
|
poetry install |
|
|
- name: Run tests |
|
|
- name: Run tests |
|
|
run: | |
|
|
run: | |
|
|
tox -e tests |
|
|
|
|
|
|
|
|
poetry run tox -e tests |
|
|
- name: Keycloak logs |
|
|
- name: Keycloak logs |
|
|
run: | |
|
|
run: | |
|
|
cat keycloak_test_logs.txt |
|
|
cat keycloak_test_logs.txt |
|
@ -89,7 +92,8 @@ jobs: |
|
|
- name: Install dependencies |
|
|
- name: Install dependencies |
|
|
run: | |
|
|
run: | |
|
|
python -m pip install --upgrade pip |
|
|
python -m pip install --upgrade pip |
|
|
python -m pip install tox |
|
|
|
|
|
|
|
|
python -m pip install poetry |
|
|
|
|
|
poetry install |
|
|
- name: Run build |
|
|
- name: Run build |
|
|
run: | |
|
|
run: | |
|
|
tox -e build |
|
|
|
|
|
|
|
|
poetry run tox -e build |