Added Admin CI test matrix
refs b0a776fd25
- this ports over the test that was delete in the workflow file in the
referenced commit
This commit is contained in:
parent
b3d7347e9e
commit
cd5a8979bf
36
.github/workflows/test.yml
vendored
36
.github/workflows/test.yml
vendored
@ -318,6 +318,42 @@ jobs:
|
||||
env:
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
||||
|
||||
test:
|
||||
runs-on: ubuntu-18.04
|
||||
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/'))
|
||||
strategy:
|
||||
matrix:
|
||||
browser: ["Firefox", "Chrome"]
|
||||
name: Admin - ${{ matrix.browser }}
|
||||
env:
|
||||
MOZ_HEADLESS: 1
|
||||
JOBS: 1
|
||||
CI: true
|
||||
COVERAGE: true
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: "14.17.0"
|
||||
|
||||
- run: yarn
|
||||
- run: yarn test
|
||||
working-directory: ghost/admin
|
||||
env:
|
||||
BROWSER: ${{ matrix.browser }}
|
||||
|
||||
# Merge coverage reports and upload
|
||||
- run: yarn ember coverage-merge
|
||||
working-directory: ghost/admin
|
||||
- uses: codecov/codecov-action@v3
|
||||
|
||||
- uses: daniellockyer/action-slack-build@master
|
||||
if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||
with:
|
||||
status: ${{ job.status }}
|
||||
env:
|
||||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
||||
|
||||
canary:
|
||||
runs-on: ubuntu-18.04
|
||||
needs: [lint, migrations, unit-tests, database-tests]
|
||||
|
Loading…
Reference in New Issue
Block a user