Skip to content

Commit

Permalink
Use action path while installing requirements and running scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-ballarin committed Jan 2, 2022
1 parent 6c63d71 commit 017dcae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ runs:
steps:
- name: Install dependencies
run: |
pip3 -q install -r scripts/requirements.txt
pip3 -q install -r ${{ github.action_path }}/scripts/requirements.txt
shell: bash
- name: Check for stray outputs, counts and metadata in ipynb files
run: |
python3 scripts/check_metadata.py "${{ inputs.pattern }}" "${{ inputs.expect-failure }}"
python3 ${{ github.action_path }}/scripts/check_metadata.py "${{ inputs.pattern }}" "${{ inputs.expect-failure }}"
shell: bash

0 comments on commit 017dcae

Please sign in to comment.