Skip to content

Commit

Permalink
ci(mutation test): executar no pull request o teste de mutação apenas…
Browse files Browse the repository at this point in the history
… dos arquivos alterados
  • Loading branch information
PauloGoncalvesBH committed Dec 8, 2020
1 parent fd3f2aa commit 3eba4c3
Show file tree
Hide file tree
Showing 5 changed files with 689 additions and 507 deletions.
20 changes: 19 additions & 1 deletion .github/workflows/continuous_integration.yml
Expand Up @@ -53,4 +53,22 @@ jobs:
- name: Installation of Node.js dependencies
run: npm ci
- name: API Test
run: npm test
run: npm test

test-mutation-diff:

runs-on: ubuntu-18.04

steps:
- name: Project checkout
uses: actions/checkout@v2
- name: Node.js Setup
uses: actions/setup-node@v1
- name: Installation of Node.js dependencies
run: npm ci
- name: Mutation Test - Changed files in the branch
run: |
git fetch origin trunk:refs/remotes/origin/trunk
npm run test:mutation:diff
env:
STRYKER_DASHBOARD_API_KEY: ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/mutation-test.yml
Expand Up @@ -3,7 +3,7 @@ name: Mutation Test
on:
workflow_dispatch:
push:
pull_request:
branches: [trunk, beta]

jobs:
test-mutation:
Expand Down

0 comments on commit 3eba4c3

Please sign in to comment.