Skip to content

Commit

Permalink
feat: add eox-tenant
Browse files Browse the repository at this point in the history
  • Loading branch information
shadinaif committed Mar 8, 2024
1 parent 121be56 commit f8cbcc8
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 29 deletions.
10 changes: 0 additions & 10 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,10 +0,0 @@

**Merge checklist:**
Check off if complete *or* not applicable:
- [ ] Version bumped
- [ ] Changelog record added
- [ ] Documentation updated (not only docstrings)
- [ ] Fixup commits are squashed away
- [ ] Unit tests added/updated
- [ ] Manual testing instructions provided
- [ ] Noted any: Concerns, dependencies, migration issues, deadlines, tickets
21 changes: 17 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,25 @@ name: Python CI
on:
push:
branches: [main]
pull_request:
branches:
- '**'

issue_comment:
types: [created]

jobs:
check_comment:
runs-on: ubuntu-latest
if: github.event.issue.pull_request != '' # Only runs if the comment is on a PR
outputs:
should_run: ${{ steps.comment_check.outputs.should_run }}
steps:
- name: Check for 'run tests' comment
id: comment_check
uses: actions/github-script@v5
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const isRunTestsComment = '${{ github.event.comment.body }}'.trim() === 'run tests';
core.setOutput('should_run', isRunTestsComment ? 'true' : 'false');
run_tests:
name: tests
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion requirements/base.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
Django # Web application framework
django-model-utils # Provides TimeStampedModel abstract base class

openedx-atlas
eox-tenant
2 changes: 1 addition & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ django==4.2.11
# django-model-utils
django-model-utils==4.4.0
# via -r requirements/base.in
openedx-atlas==0.6.0
eox-tenant==11.0.1
# via -r requirements/base.in
sqlparse==0.4.4
# via django
Expand Down
2 changes: 1 addition & 1 deletion requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ tomli==2.0.1
# via
# pyproject-api
# tox
tox==4.13.0
tox==4.14.1
# via -r requirements/ci.in
virtualenv==20.25.1
# via tox
8 changes: 4 additions & 4 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ edx-i18n-tools==1.3.0
# via -r requirements/dev.in
edx-lint==5.3.6
# via -r requirements/quality.txt
eox-tenant==11.0.1
# via -r requirements/quality.txt
exceptiongroup==1.2.0
# via
# -r requirements/quality.txt
Expand Down Expand Up @@ -104,8 +106,6 @@ mccabe==0.7.0
# via
# -r requirements/quality.txt
# pylint
openedx-atlas==0.6.0
# via -r requirements/quality.txt
packaging==23.2
# via
# -r requirements/ci.txt
Expand All @@ -121,7 +121,7 @@ pbr==6.0.0
# via
# -r requirements/quality.txt
# stevedore
pip-tools==7.4.0
pip-tools==7.4.1
# via -r requirements/pip-tools.txt
platformdirs==4.2.0
# via
Expand Down Expand Up @@ -229,7 +229,7 @@ tomlkit==0.12.4
# via
# -r requirements/quality.txt
# pylint
tox==4.13.0
tox==4.14.1
# via -r requirements/ci.txt
typing-extensions==4.10.0
# via
Expand Down
6 changes: 3 additions & 3 deletions requirements/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ docutils==0.20.1
# readme-renderer
# restructuredtext-lint
# sphinx
eox-tenant==11.0.1
# via -r requirements/test.txt
exceptiongroup==1.2.0
# via
# -r requirements/test.txt
Expand All @@ -62,7 +64,7 @@ idna==3.6
# via requests
imagesize==1.4.1
# via sphinx
importlib-metadata==7.0.1
importlib-metadata==7.0.2
# via
# keyring
# twine
Expand Down Expand Up @@ -95,8 +97,6 @@ more-itertools==10.2.0
# via jaraco-classes
nh3==0.2.15
# via readme-renderer
openedx-atlas==0.6.0
# via -r requirements/test.txt
packaging==23.2
# via
# -r requirements/test.txt
Expand Down
2 changes: 1 addition & 1 deletion requirements/pip-tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ click==8.1.7
# via pip-tools
packaging==23.2
# via build
pip-tools==7.4.0
pip-tools==7.4.1
# via -r requirements/pip-tools.in
pyproject-hooks==1.0.0
# via
Expand Down
4 changes: 2 additions & 2 deletions requirements/quality.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ django-model-utils==4.4.0
# via -r requirements/test.txt
edx-lint==5.3.6
# via -r requirements/quality.in
eox-tenant==11.0.1
# via -r requirements/test.txt
exceptiongroup==1.2.0
# via
# -r requirements/test.txt
Expand All @@ -61,8 +63,6 @@ markupsafe==2.1.5
# jinja2
mccabe==0.7.0
# via pylint
openedx-atlas==0.6.0
# via -r requirements/test.txt
packaging==23.2
# via
# -r requirements/test.txt
Expand Down
4 changes: 2 additions & 2 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ coverage[toml]==7.4.3
# django-model-utils
django-model-utils==4.4.0
# via -r requirements/base.txt
eox-tenant==11.0.1
# via -r requirements/base.txt
exceptiongroup==1.2.0
# via pytest
iniconfig==2.0.0
Expand All @@ -28,8 +30,6 @@ jinja2==3.1.3
# via code-annotations
markupsafe==2.1.5
# via jinja2
openedx-atlas==0.6.0
# via -r requirements/base.txt
packaging==23.2
# via pytest
pbr==6.0.0
Expand Down

0 comments on commit f8cbcc8

Please sign in to comment.