Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change to using create-user and promote-user #253

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jdkandersson
Copy link
Contributor

Applicable spec: N/A

Overview

Fixes the integration tests using the new create and promote user actions

Rationale

Required to fix the integration tests

Module Changes

None

Checklist

  • The contributing guide was applied
  • The documentation is generated using src-docs
  • The PR is tagged with appropriate label (urgent, trivial, complex)
  • Changelog has been updated
  • Version has been incremented

Changelog not required since there are only changes to the tests, version increment not required.

@jdkandersson jdkandersson requested a review from a team as a code owner August 22, 2024 04:24
yanksyoon
yanksyoon previously approved these changes Aug 22, 2024
arturo-seijas
arturo-seijas previously approved these changes Aug 22, 2024
@jdkandersson jdkandersson dismissed stale reviews from arturo-seijas and yanksyoon via 72b24b5 August 22, 2024 14:16
Copy link

Lint checks failed for 72b24b5

```

/home/ubuntu/actions-runner/_work/discourse-gatekeeper/discourse-gatekeeper/tests/integration/conftest.py:8:1: F401 'asyncio' imported but unused

Copy link

Test coverage for 72b24b5

Name                                 Stmts   Miss Branch BrPart  Cover   Missing
--------------------------------------------------------------------------------
src/gatekeeper/__init__.py              96      0     42      0   100%
src/gatekeeper/action.py               158      0     48      0   100%
src/gatekeeper/check.py                 62      0     25      0   100%
src/gatekeeper/clients.py               11      0      0      0   100%
src/gatekeeper/commit.py                41      0     12      0   100%
src/gatekeeper/constants.py              8      0      0      0   100%
src/gatekeeper/content.py               49      0     10      0   100%
src/gatekeeper/discourse.py            157      0     34      0   100%
src/gatekeeper/docs_directory.py        32      0      8      0   100%
src/gatekeeper/download.py              21      0      2      0   100%
src/gatekeeper/exceptions.py            14      0      0      0   100%
src/gatekeeper/index.py                141      0     56      0   100%
src/gatekeeper/metadata.py              58      0     28      0   100%
src/gatekeeper/migration.py            101      0     33      0   100%
src/gatekeeper/navigation_table.py      64      0     20      0   100%
src/gatekeeper/reconcile.py            122      0     60      0   100%
src/gatekeeper/repository.py           292      0     88      0   100%
src/gatekeeper/sort.py                  42      0     26      0   100%
src/gatekeeper/types_.py               201      0     54      0   100%
--------------------------------------------------------------------------------
TOTAL                                 1670      0    546      0   100%

Static code analysis report

Working... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:01
Run started:2024-08-22 14:18:28.160302

Test results:
  No issues identified.

Code scanned:
  Total lines of code: 17881
  Total lines skipped (#nosec): 3
  Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0

Run metrics:
  Total issues (by severity):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
  Total issues (by confidence):
  	Undefined: 0
  	Low: 0
  	Medium: 0
  	High: 0
Files skipped (0):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants