|
|
@ -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 |
|
|
|