Skip to content

Commit

Permalink
- set the workdir /tmp for the test
Browse files Browse the repository at this point in the history
  • Loading branch information
sassman committed Nov 2, 2023
1 parent 2e161d0 commit f5a14f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
run: docker build -t test-cargo-generate .

- name: Run list
run: docker run -v ${PWD}/test:/test test-cargo-generate --path /test --name ${{ env.PROJECT_NAME }}
run: docker run -v ${PWD}/test:/test -w /tmp test-cargo-generate --path /test --name ${{ env.PROJECT_NAME }}

- uses: dtolnay/rust-toolchain@stable
# we need to move the generated project to a temp folder, away from the template project
Expand Down

0 comments on commit f5a14f6

Please sign in to comment.