Skip to content

Commit

Permalink
Merge pull request #77 from DemocracyClub/hotfix/design-system-0.5.0
Browse files Browse the repository at this point in the history
Hotfix/design system 0.5.0
  • Loading branch information
VirginiaDooley authored Apr 16, 2024
2 parents 5563e5a + b1e030c commit e58c52d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@ name: Publish Python Package

on:
release:
types: [created, edited]
types: [created]
workflow_run:
workflows: ["Run Tests"]
types:
- completed
branches:
- master

jobs:
test:
Expand All @@ -26,6 +32,7 @@ jobs:
run: |
pytest
deploy:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
needs: [test]
environment: release
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dependencies = [
"pytest-flakes",
"pytest-ruff",
"pytidylib",
"dc-design-system @ git+https://github.com/DemocracyClub/design-system.git@0.4.6",
"dc-design-system @ git+https://github.com/DemocracyClub/design-system.git@0.5.0",
"whitenoise",
"pysass",
"jsmin<3.1",
Expand Down
2 changes: 1 addition & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pytest-mock
pytest-flakes
pytest-ruff
pytidylib
git+https://github.com/DemocracyClub/design-system.git@0.4.6
git+https://github.com/DemocracyClub/design-system.git@0.5.0
whitenoise
pysass
jsmin<3.1
2 changes: 1 addition & 1 deletion tests/testapp/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
SECRET_KEY = "testing_only_s#=1z=a46wziq#k+@$3_xtt*t*rm5rk)gq3*-tw67+-%z6-x0^"

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG = False

ALLOWED_HOSTS = ["*"]

Expand Down

0 comments on commit e58c52d

Please sign in to comment.