diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9af681a4bd7..56cfa2d147a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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