Skip to content

working directory is being ignored #35

Closed
@jorgecoca

Description

@jorgecoca

Describe the bug
When you declare a working-directory for your action, all the paths should be relative to that directory, and not to the root of the project.

Expected behavior

jobs:
  build:
    defaults:
      run:
        working-directory: test/path
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v2
      - name: Check Code Coverage
        uses: VeryGoodOpenSource/very_good_coverage@v1.1.1
        with:
          path: ./coverage/lcov.info

The absolute value of path should be test/path/coverage/lcov.info, and not just ./coverage/lcov.info.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working as expected

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions