mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 01:18:25 -04:00
Just trying to get the new job to run
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
50
.github/workflows/checks.yml
vendored
50
.github/workflows/checks.yml
vendored
@@ -73,33 +73,27 @@ jobs:
|
|||||||
- uses: ./.github/actions/setup-project
|
- uses: ./.github/actions/setup-project
|
||||||
- uses: jwalton/gh-find-current-pr@v1
|
- uses: jwalton/gh-find-current-pr@v1
|
||||||
id: findPr
|
id: findPr
|
||||||
- uses: ArtiomTr/jest-coverage-report-action@v2
|
# - name: Clone API
|
||||||
with:
|
# uses: actions/checkout@v3
|
||||||
test-script: npm test
|
# with:
|
||||||
output: report-markdown
|
# repository: GSA/notifications-api
|
||||||
annotations: failed-tests
|
# path: './notifications-api'
|
||||||
prnumber: ${{ steps.findPr.outputs.number }}
|
# - name: Install API dependencies
|
||||||
- name: Clone API
|
# with:
|
||||||
uses: actions/checkout@v3
|
# path: './notifications-api'
|
||||||
with:
|
# run: make bootstrap
|
||||||
repository: GSA/notifications-api
|
# env:
|
||||||
path: './notifications-api'
|
# SQLALCHEMY_DATABASE_TEST_URI: postgresql://user:password@localhost:5432/test_notification_api
|
||||||
- name: Install API dependencies
|
# NOTIFY_E2E_TEST_EMAIL: ${{ secrets.NOTIFY_E2E_TEST_EMAIL }}
|
||||||
with:
|
# NOTIFY_E2E_TEST_PASSWORD: ${{ secrets.NOTIFY_E2E_TEST_PASSWORD }}
|
||||||
path: './notifications-api'
|
# - name: Run API server
|
||||||
run: make bootstrap
|
# with:
|
||||||
env:
|
# path: './notifications-api'
|
||||||
SQLALCHEMY_DATABASE_TEST_URI: postgresql://user:password@localhost:5432/test_notification_api
|
# run: make run-procfile &
|
||||||
NOTIFY_E2E_TEST_EMAIL: ${{ secrets.NOTIFY_E2E_TEST_EMAIL }}
|
# env:
|
||||||
NOTIFY_E2E_TEST_PASSWORD: ${{ secrets.NOTIFY_E2E_TEST_PASSWORD }}
|
# SQLALCHEMY_DATABASE_TEST_URI: postgresql://user:password@localhost:5432/test_notification_api
|
||||||
- name: Run API server
|
# NOTIFY_E2E_TEST_EMAIL: ${{ secrets.NOTIFY_E2E_TEST_EMAIL }}
|
||||||
with:
|
# NOTIFY_E2E_TEST_PASSWORD: ${{ secrets.NOTIFY_E2E_TEST_PASSWORD }}
|
||||||
path: './notifications-api'
|
|
||||||
run: make run-procfile &
|
|
||||||
env:
|
|
||||||
SQLALCHEMY_DATABASE_TEST_URI: postgresql://user:password@localhost:5432/test_notification_api
|
|
||||||
NOTIFY_E2E_TEST_EMAIL: ${{ secrets.NOTIFY_E2E_TEST_EMAIL }}
|
|
||||||
NOTIFY_E2E_TEST_PASSWORD: ${{ secrets.NOTIFY_E2E_TEST_PASSWORD }}
|
|
||||||
- name: Run E2E tests
|
- name: Run E2E tests
|
||||||
run: poetry run pytest -v --browser chromium --browser firefox --browser webkit tests/end_to_end
|
run: poetry run pytest -v --browser chromium --browser firefox --browser webkit tests/end_to_end
|
||||||
env:
|
env:
|
||||||
@@ -107,7 +101,7 @@ jobs:
|
|||||||
NOTIFY_E2E_TEST_EMAIL: ${{ secrets.NOTIFY_E2E_TEST_EMAIL }}
|
NOTIFY_E2E_TEST_EMAIL: ${{ secrets.NOTIFY_E2E_TEST_EMAIL }}
|
||||||
NOTIFY_E2E_TEST_PASSWORD: ${{ secrets.NOTIFY_E2E_TEST_PASSWORD }}
|
NOTIFY_E2E_TEST_PASSWORD: ${{ secrets.NOTIFY_E2E_TEST_PASSWORD }}
|
||||||
NOTIFY_E2E_TEST_URI: ${{ secrets.NOTIFY_E2E_TEST_URI }}
|
NOTIFY_E2E_TEST_URI: ${{ secrets.NOTIFY_E2E_TEST_URI }}
|
||||||
API_HOST_NAME: http://localhost:6011
|
# API_HOST_NAME: http://localhost:6011
|
||||||
- name: Check coverage threshold
|
- name: Check coverage threshold
|
||||||
run: poetry run coverage report --fail-under=90
|
run: poetry run coverage report --fail-under=90
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user