mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 04:04:17 +08:00
Disable ember-cli-based CI tests for stable branch
The upgrade of node in our discourse_test docker image has caused these to start failing. Ember-cli assets are default-disabled on the stable branch, so there is little need to run these tests.
This commit is contained in:
parent
b25f469018
commit
bf30689059
104
.github/workflows/tests.yml
vendored
104
.github/workflows/tests.yml
vendored
|
@ -168,10 +168,10 @@ jobs:
|
|||
run: QUNIT_EMBER_CLI=0 bin/rake plugin:qunit['*','1200000']
|
||||
timeout-minutes: 30
|
||||
|
||||
- name: Plugin QUnit (Ember CLI)
|
||||
if: matrix.build_type == 'frontend' && (matrix.target == 'plugins' || matrix.target == 'core-plugins')
|
||||
run: QUNIT_EMBER_CLI=1 bin/rake plugin:qunit['*','1200000']
|
||||
timeout-minutes: 30
|
||||
# - name: Plugin QUnit (Ember CLI)
|
||||
# if: matrix.build_type == 'frontend' && (matrix.target == 'plugins' || matrix.target == 'core-plugins')
|
||||
# run: QUNIT_EMBER_CLI=1 bin/rake plugin:qunit['*','1200000']
|
||||
# timeout-minutes: 30
|
||||
|
||||
- name: Check Annotations
|
||||
if: matrix.build_type == 'annotations'
|
||||
|
@ -190,61 +190,61 @@ jobs:
|
|||
fi
|
||||
timeout-minutes: 30
|
||||
|
||||
core_frontend_tests:
|
||||
name: core frontend (${{ matrix.browser }})
|
||||
runs-on: ubuntu-latest
|
||||
container: discourse/discourse_test:slim-browsers
|
||||
timeout-minutes: 30
|
||||
# core_frontend_tests:
|
||||
# name: core frontend (${{ matrix.browser }})
|
||||
# runs-on: ubuntu-latest
|
||||
# container: discourse/discourse_test:slim-browsers
|
||||
# timeout-minutes: 30
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
browser: ["Chrome", "Firefox", "Headless Firefox"]
|
||||
# strategy:
|
||||
# fail-fast: false
|
||||
# matrix:
|
||||
# browser: ["Chrome", "Firefox", "Headless Firefox"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 1
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# with:
|
||||
# fetch-depth: 1
|
||||
|
||||
- name: Setup Git
|
||||
run: |
|
||||
git config --global user.email "ci@ci.invalid"
|
||||
git config --global user.name "Discourse CI"
|
||||
# - name: Setup Git
|
||||
# run: |
|
||||
# git config --global user.email "ci@ci.invalid"
|
||||
# git config --global user.name "Discourse CI"
|
||||
|
||||
- name: Get yarn cache directory
|
||||
id: yarn-cache-dir
|
||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
||||
# - name: Get yarn cache directory
|
||||
# id: yarn-cache-dir
|
||||
# run: echo "::set-output name=dir::$(yarn cache dir)"
|
||||
|
||||
- name: Yarn cache
|
||||
uses: actions/cache@v2
|
||||
id: yarn-cache
|
||||
with:
|
||||
path: ${{ steps.yarn-cache-dir.outputs.dir }}
|
||||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-yarn-
|
||||
# - name: Yarn cache
|
||||
# uses: actions/cache@v2
|
||||
# id: yarn-cache
|
||||
# with:
|
||||
# path: ${{ steps.yarn-cache-dir.outputs.dir }}
|
||||
# key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||
# restore-keys: |
|
||||
# ${{ runner.os }}-yarn-
|
||||
|
||||
- name: Yarn install
|
||||
working-directory: ./app/assets/javascripts/discourse
|
||||
run: yarn install
|
||||
# - name: Yarn install
|
||||
# working-directory: ./app/assets/javascripts/discourse
|
||||
# run: yarn install
|
||||
|
||||
- name: Ember Build
|
||||
working-directory: ./app/assets/javascripts/discourse
|
||||
run: |
|
||||
sudo -E -u discourse mkdir /tmp/emberbuild
|
||||
sudo -E -u discourse -H yarn ember build --environment=test -o /tmp/emberbuild
|
||||
# - name: Ember Build
|
||||
# working-directory: ./app/assets/javascripts/discourse
|
||||
# run: |
|
||||
# sudo -E -u discourse mkdir /tmp/emberbuild
|
||||
# sudo -E -u discourse -H yarn ember build --environment=test -o /tmp/emberbuild
|
||||
|
||||
- name: Core QUnit 1
|
||||
working-directory: ./app/assets/javascripts/discourse
|
||||
run: sudo -E -u discourse -H yarn ember exam --path /tmp/emberbuild --split=3 --partition=1 --launch "${{ matrix.browser }}" --random
|
||||
timeout-minutes: 20
|
||||
# - name: Core QUnit 1
|
||||
# working-directory: ./app/assets/javascripts/discourse
|
||||
# run: sudo -E -u discourse -H yarn ember exam --path /tmp/emberbuild --split=3 --partition=1 --launch "${{ matrix.browser }}" --random
|
||||
# timeout-minutes: 20
|
||||
|
||||
- name: Core QUnit 2
|
||||
working-directory: ./app/assets/javascripts/discourse
|
||||
run: sudo -E -u discourse -H yarn ember exam --path /tmp/emberbuild --split=3 --partition=2 --launch "${{ matrix.browser }}" --random
|
||||
timeout-minutes: 20
|
||||
# - name: Core QUnit 2
|
||||
# working-directory: ./app/assets/javascripts/discourse
|
||||
# run: sudo -E -u discourse -H yarn ember exam --path /tmp/emberbuild --split=3 --partition=2 --launch "${{ matrix.browser }}" --random
|
||||
# timeout-minutes: 20
|
||||
|
||||
- name: Core QUnit 3
|
||||
working-directory: ./app/assets/javascripts/discourse
|
||||
run: sudo -E -u discourse -H yarn ember exam --path /tmp/emberbuild --split=3 --partition=3 --launch "${{ matrix.browser }}" --random
|
||||
timeout-minutes: 20
|
||||
# - name: Core QUnit 3
|
||||
# working-directory: ./app/assets/javascripts/discourse
|
||||
# run: sudo -E -u discourse -H yarn ember exam --path /tmp/emberbuild --split=3 --partition=3 --launch "${{ matrix.browser }}" --random
|
||||
# timeout-minutes: 20
|
||||
|
|
Loading…
Reference in New Issue
Block a user