Add dangerfile scan to test-core (#9030)

pull/9033/head
Cyril Rohr 4 years ago committed by GitHub
parent c46fd5a5a1
commit c952c08732
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      .github/workflows/test-core.yml

@ -15,6 +15,15 @@ on:
- 'help/**' - 'help/**'
jobs: jobs:
danger:
if: github.repository == 'opf/openproject'
runs-on: [ubuntu-latest]
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
- uses: danger/danger@master
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
units: units:
name: Units name: Units
if: github.repository == 'opf/openproject' if: github.repository == 'opf/openproject'
@ -36,7 +45,6 @@ jobs:
${{ runner.os }}-core-tests- ${{ runner.os }}-core-tests-
- name: test - name: test
run: | run: |
cp .env.example .env
docker-compose -f docker-compose.ci.yml build ci docker-compose -f docker-compose.ci.yml build ci
docker-compose -f docker-compose.ci.yml run ci setup-tests run-units docker-compose -f docker-compose.ci.yml run ci setup-tests run-units
- name: cleanup - name: cleanup
@ -70,7 +78,6 @@ jobs:
${{ runner.os }}-core-tests- ${{ runner.os }}-core-tests-
- name: test - name: test
run: | run: |
cp .env.example .env
docker-compose -f docker-compose.ci.yml build ci docker-compose -f docker-compose.ci.yml build ci
docker-compose -f docker-compose.ci.yml run ci setup-tests run-features docker-compose -f docker-compose.ci.yml run ci setup-tests run-features
- name: cleanup - name: cleanup

Loading…
Cancel
Save