diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index a4183fa4a..7d2be7f11 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -53,6 +53,9 @@ jobs: restore-keys: | ${{ runner.os }}-poetry- + - name: Print memory usage + run: free -h + pre-commit: name: Run pre-commit needs: setup @@ -69,6 +72,8 @@ jobs: python-version: 3.11.2 - name: Run pre-commit uses: pre-commit/action@v3.0.1 + - name: Print memory usage + run: free -h code-ql: name: Run CodeQL @@ -132,6 +137,9 @@ jobs: - uses: github/codeql-action/analyze@v2 if: ${{ steps.set-matrix.outputs.languages != '' }} + - name: Print memory usage + run: free -h + test: name: Run Tests needs: code-ql @@ -152,6 +160,8 @@ jobs: - run: poetry run python manage.py collectstatic --noinput - name: Run tests run: poetry run xvfb-run --auto-servernum python manage.py test -v 3 --failfast + - name: Print memory usage + run: free -h docker-test: runs-on: ubuntu-latest @@ -182,4 +192,7 @@ jobs: - name: Clean up run: | docker stop my-container - docker rm my-container \ No newline at end of file + docker rm my-container + + - name: Print memory usage + run: free -h \ No newline at end of file diff --git a/website/views/core.py b/website/views/core.py index e6115add8..40b93e755 100644 --- a/website/views/core.py +++ b/website/views/core.py @@ -274,9 +274,6 @@ def github_callback(request): return safe_redirect_allowed(url, ALLOWED_HOSTS) -s - - def google_callback(request): ALLOWED_HOSTS = ["accounts.google.com"] params = urllib.parse.urlencode(request.GET)