mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 06:23:41 +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']
|
run: QUNIT_EMBER_CLI=0 bin/rake plugin:qunit['*','1200000']
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
|
|
||||||
- name: Plugin QUnit (Ember CLI)
|
# - name: Plugin QUnit (Ember CLI)
|
||||||
if: matrix.build_type == 'frontend' && (matrix.target == 'plugins' || matrix.target == 'core-plugins')
|
# if: matrix.build_type == 'frontend' && (matrix.target == 'plugins' || matrix.target == 'core-plugins')
|
||||||
run: QUNIT_EMBER_CLI=1 bin/rake plugin:qunit['*','1200000']
|
# run: QUNIT_EMBER_CLI=1 bin/rake plugin:qunit['*','1200000']
|
||||||
timeout-minutes: 30
|
# timeout-minutes: 30
|
||||||
|
|
||||||
- name: Check Annotations
|
- name: Check Annotations
|
||||||
if: matrix.build_type == 'annotations'
|
if: matrix.build_type == 'annotations'
|
||||||
|
@ -190,61 +190,61 @@ jobs:
|
||||||
fi
|
fi
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
|
|
||||||
core_frontend_tests:
|
# core_frontend_tests:
|
||||||
name: core frontend (${{ matrix.browser }})
|
# name: core frontend (${{ matrix.browser }})
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
container: discourse/discourse_test:slim-browsers
|
# container: discourse/discourse_test:slim-browsers
|
||||||
timeout-minutes: 30
|
# timeout-minutes: 30
|
||||||
|
|
||||||
strategy:
|
# strategy:
|
||||||
fail-fast: false
|
# fail-fast: false
|
||||||
matrix:
|
# matrix:
|
||||||
browser: ["Chrome", "Firefox", "Headless Firefox"]
|
# browser: ["Chrome", "Firefox", "Headless Firefox"]
|
||||||
|
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v2
|
# - uses: actions/checkout@v2
|
||||||
with:
|
# with:
|
||||||
fetch-depth: 1
|
# fetch-depth: 1
|
||||||
|
|
||||||
- name: Setup Git
|
# - name: Setup Git
|
||||||
run: |
|
# run: |
|
||||||
git config --global user.email "ci@ci.invalid"
|
# git config --global user.email "ci@ci.invalid"
|
||||||
git config --global user.name "Discourse CI"
|
# git config --global user.name "Discourse CI"
|
||||||
|
|
||||||
- name: Get yarn cache directory
|
# - name: Get yarn cache directory
|
||||||
id: yarn-cache-dir
|
# id: yarn-cache-dir
|
||||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
# run: echo "::set-output name=dir::$(yarn cache dir)"
|
||||||
|
|
||||||
- name: Yarn cache
|
# - name: Yarn cache
|
||||||
uses: actions/cache@v2
|
# uses: actions/cache@v2
|
||||||
id: yarn-cache
|
# id: yarn-cache
|
||||||
with:
|
# with:
|
||||||
path: ${{ steps.yarn-cache-dir.outputs.dir }}
|
# path: ${{ steps.yarn-cache-dir.outputs.dir }}
|
||||||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
# key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
||||||
restore-keys: |
|
# restore-keys: |
|
||||||
${{ runner.os }}-yarn-
|
# ${{ runner.os }}-yarn-
|
||||||
|
|
||||||
- name: Yarn install
|
# - name: Yarn install
|
||||||
working-directory: ./app/assets/javascripts/discourse
|
# working-directory: ./app/assets/javascripts/discourse
|
||||||
run: yarn install
|
# run: yarn install
|
||||||
|
|
||||||
- name: Ember Build
|
# - name: Ember Build
|
||||||
working-directory: ./app/assets/javascripts/discourse
|
# working-directory: ./app/assets/javascripts/discourse
|
||||||
run: |
|
# run: |
|
||||||
sudo -E -u discourse mkdir /tmp/emberbuild
|
# sudo -E -u discourse mkdir /tmp/emberbuild
|
||||||
sudo -E -u discourse -H yarn ember build --environment=test -o /tmp/emberbuild
|
# sudo -E -u discourse -H yarn ember build --environment=test -o /tmp/emberbuild
|
||||||
|
|
||||||
- name: Core QUnit 1
|
# - name: Core QUnit 1
|
||||||
working-directory: ./app/assets/javascripts/discourse
|
# 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
|
# run: sudo -E -u discourse -H yarn ember exam --path /tmp/emberbuild --split=3 --partition=1 --launch "${{ matrix.browser }}" --random
|
||||||
timeout-minutes: 20
|
# timeout-minutes: 20
|
||||||
|
|
||||||
- name: Core QUnit 2
|
# - name: Core QUnit 2
|
||||||
working-directory: ./app/assets/javascripts/discourse
|
# 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
|
# run: sudo -E -u discourse -H yarn ember exam --path /tmp/emberbuild --split=3 --partition=2 --launch "${{ matrix.browser }}" --random
|
||||||
timeout-minutes: 20
|
# timeout-minutes: 20
|
||||||
|
|
||||||
- name: Core QUnit 3
|
# - name: Core QUnit 3
|
||||||
working-directory: ./app/assets/javascripts/discourse
|
# 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
|
# run: sudo -E -u discourse -H yarn ember exam --path /tmp/emberbuild --split=3 --partition=3 --launch "${{ matrix.browser }}" --random
|
||||||
timeout-minutes: 20
|
# timeout-minutes: 20
|
||||||
|
|
Loading…
Reference in New Issue
Block a user