tests: fix flaky tests (#7676)
* tests: fix flaky tests Signed-off-by: Jens Langhammer <jens@goauthentik.io> * make test-from-stable use actual latest version Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix checkout Signed-off-by: Jens Langhammer <jens@goauthentik.io> * remove hardcoded seed Signed-off-by: Jens Langhammer <jens@goauthentik.io> * ignore tests for now i guess idk Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
4
.github/workflows/ci-main.yml
vendored
4
.github/workflows/ci-main.yml
vendored
@ -62,7 +62,7 @@ jobs:
|
||||
cp authentik/lib/default.yml local.env.yml
|
||||
cp -R .github ..
|
||||
cp -R scripts ..
|
||||
git checkout $(git describe --tags $(git rev-list --tags --max-count=1))
|
||||
git checkout version/$(python -c "from authentik import __version__; print(__version__)")
|
||||
rm -rf .github/ scripts/
|
||||
mv ../.github ../scripts .
|
||||
- name: Setup authentik env (ensure stable deps are installed)
|
||||
@ -117,7 +117,7 @@ jobs:
|
||||
uses: helm/kind-action@v1.8.0
|
||||
- name: run integration
|
||||
run: |
|
||||
poetry run coverage run manage.py test --randomly-seed=2100196988 tests/integration
|
||||
poetry run coverage run manage.py test tests/integration
|
||||
poetry run coverage xml
|
||||
- if: ${{ always() }}
|
||||
uses: codecov/codecov-action@v3
|
||||
|
||||
Reference in New Issue
Block a user