-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #748 from cal-itp/dev
release changes to test environment
- Loading branch information
Showing
72 changed files
with
1,248 additions
and
769 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Label back-end | ||
|
||
on: | ||
pull_request: | ||
types: [opened] | ||
paths: | ||
- 'benefits/**/*.py' | ||
|
||
jobs: | ||
label-actions: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: add-label | ||
uses: andymckay/labeler@master | ||
with: | ||
add-labels: "back-end" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Label docker | ||
|
||
on: | ||
pull_request: | ||
types: [opened] | ||
paths: | ||
- '.devcontainer/**' | ||
- '.dockerignore' | ||
- 'Dockerfile' | ||
|
||
jobs: | ||
label-actions: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: add-label | ||
uses: andymckay/labeler@master | ||
with: | ||
add-labels: "docker" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Label front-end | ||
|
||
on: | ||
pull_request: | ||
types: [opened] | ||
paths: | ||
- 'benefits/**/templates/**' | ||
- 'benefits/static/**' | ||
|
||
jobs: | ||
label-actions: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: add-label | ||
uses: andymckay/labeler@master | ||
with: | ||
add-labels: "front-end" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Label i18n | ||
|
||
on: | ||
pull_request: | ||
types: [opened] | ||
paths: | ||
- 'benefits/locale/**' | ||
|
||
jobs: | ||
label-actions: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: add-label | ||
uses: andymckay/labeler@master | ||
with: | ||
add-labels: "i18n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,34 +40,6 @@ jobs: | |
-v ${{ github.workspace }}/fixtures:/home/calitp/app/fixtures \ | ||
benefits_client:${{ github.sha }} | ||
- name: Start server | ||
run: | | ||
docker run \ | ||
--detach \ | ||
-p 5000:5000 \ | ||
ghcr.io/cal-itp/eligibility-server:main | ||
- name: Run UI automation tests | ||
uses: cypress-io/github-action@v2 | ||
env: | ||
CYPRESS_baseUrl: http://localhost:8000 | ||
with: | ||
command: npm run cypress:ui | ||
working-directory: tests/cypress | ||
wait-on: http://localhost:8000/healthcheck | ||
|
||
- uses: actions/upload-artifact@v3 | ||
if: failure() | ||
with: | ||
name: cypress-screenshots | ||
path: tests/cypress/screenshots | ||
|
||
- uses: actions/upload-artifact@v3 | ||
if: failure() | ||
with: | ||
name: cypress-videos | ||
path: tests/cypress/videos | ||
|
||
- name: Run Lighthouse tests for a11y | ||
uses: treosh/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +0,0 @@ | ||
""" | ||
The core application: Houses base templates and reusable models and components. | ||
""" | ||
from django.apps import AppConfig | ||
|
||
|
||
class CoreAppConfig(AppConfig): | ||
name = "benefits.core" | ||
label = "core" | ||
verbose_name = "Core" | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
""" | ||
The core application: Houses base templates and reusable models and components. | ||
""" | ||
from django.apps import AppConfig | ||
|
||
|
||
class CoreAppConfig(AppConfig): | ||
name = "benefits.core" | ||
label = "core" | ||
verbose_name = "Core" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.