Skip to content

Commit

Permalink
ci: add parent directory test
Browse files Browse the repository at this point in the history
  • Loading branch information
jiro4989 committed Jul 8, 2024
1 parent e8476e9 commit fbbaab3
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,28 @@ jobs:
run: nimble install -Y nimjson
- name: Run command
run: nimjson -h

test-parent-directory:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
- macOS-latest
steps:
- uses: actions/checkout@v4
- uses: ./
with:
nim-version: stable
repo-token: ${{ secrets.GITHUB_TOKEN }}
parent-nim-install-directory: ${{ runner.temp }}

- name: Print Nim version
run: nim -v
- name: Print Nimble version
run: nimble -v
- name: Run build test
run: nimble install -Y nimjson
- name: Run command
run: nimjson -h

0 comments on commit fbbaab3

Please sign in to comment.