Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
fix: trying to fix problem when checking for changedFiles.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsouza-loftbr committed Apr 15, 2022
1 parent 591c80c commit b2ec9b3
Show file tree
Hide file tree
Showing 9 changed files with 980 additions and 1,025 deletions.
28 changes: 18 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: "ci"
name: 'ci'
on:
pull_request:
push:
branches:
- main
- "releases/*"

jobs:
styling:
Expand Down Expand Up @@ -34,19 +31,30 @@ jobs:
- name: Test (100% requirement on 100% file)
uses: ./
with:
path: "./fixtures/lcov.100.info"
path: './fixtures/lcov.100.info'
- name: Test (90% requirement on 95% file)
uses: ./
with:
path: "./fixtures/lcov.95.info"
path: './fixtures/lcov.95.info'
min_coverage: 90
- name: Test (100% requirement on 95% file)
uses: ./
with:
path: "./fixtures/lcov.95.info"
exclude: "**/*_observer.dart"
path: './fixtures/lcov.95.info'
exclude: '**/*_observer.dart'
- name: Test (100% requirement on 95% file with excludes)
uses: ./
with:
path: "./fixtures/lcov.95.info"
exclude: "**/whatever.dart **/*_observer.dart **/does_not_matter.dart"
path: './fixtures/lcov.95.info'
exclude: '**/whatever.dart **/*_observer.dart **/does_not_matter.dart'

changed-files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Test (100% requirement on 95% file with excludes)
uses: ./
with:
path: './fixtures/lcov.95.info'
changed_files: '/Users/felix/Development/github.com/felangel/bloc/packages/bloc/lib/src/bloc_observer.dart /Users/felix/Development/github.com/felangel/bloc/packages/bloc/lib/src/change.dart'
exclude: '**/whatever.dart **/*_observer.dart **/does_not_matter.dart'
Binary file added bin/act
Binary file not shown.
Loading

0 comments on commit b2ec9b3

Please sign in to comment.