Skip to content

Commit

Permalink
Update permissions.
Browse files Browse the repository at this point in the history
  • Loading branch information
nowakweronika committed Apr 26, 2024
1 parent d446718 commit b2bea8c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/run-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@ name: Tests

on:
pull_request:
push:
branches:
- "develop"
- "main"
schedule:
# Run twice a day the sanity check, at 9:13 and 21:13.
# You ask why 13? because probably less people schedule their tasks at exactly this time, so I
# guess CI is less occupied. And 13 is a lucky number ;)
- cron: "13 9,21 * * *"

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true

permissions:
contents: read
actions: read
checks: write

jobs:
unit-tests:
Expand Down
1 change: 0 additions & 1 deletion module-jacoco.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ tasks.register('codeCoverage', JacocoReport) {
)

sourceDirectories.setFrom(
fileTree(dir: "${buildDir}/test-results/instrumentation_results", includes: ['*.ec']),
fileTree(dir: project.projectDir, includes: ["src/main/java/**", "src/main/kotlin/**"])
)

Expand Down

0 comments on commit b2bea8c

Please sign in to comment.