1
0
Fork 0

Update plugin-tests.yml

Dieser Commit ist enthalten in:
Angus McLeod 2022-04-11 11:28:51 +02:00
Ursprung 7d941eaf5e
Commit 1f899935a0

Datei anzeigen

@ -48,7 +48,7 @@ jobs:
fetch-depth: 1 fetch-depth: 1
- name: Install plugin - name: Install plugin
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
path: plugins/${{ github.event.repository.name }} path: plugins/${{ github.event.repository.name }}
ref: "${{ github.base_ref }}" ref: "${{ github.base_ref }}"
@ -140,12 +140,12 @@ jobs:
- name: RSpec with Coverage - name: RSpec with Coverage
if: matrix.build_type == 'backend' if: matrix.build_type == 'backend'
run: | run: |
if [ -e plugins/${{ steps.repo-name.outputs.value }}/.simplecov ] if [ -e plugins/${{ github.event.repository.name }}/.simplecov ]
then then
cp plugins/${{ steps.repo-name.outputs.value }}/.simplecov .simplecov cp plugins/${{ github.event.repository.name }}/.simplecov .simplecov
export COVERAGE=1 export COVERAGE=1
fi fi
bin/rake plugin:spec[${{ steps.repo-name.outputs.value }}] bin/rake plugin:spec[${{ github.event.repository.name }}]
- name: Wizard QUnit - name: Wizard QUnit
if: matrix.build_type == 'frontend' if: matrix.build_type == 'frontend'