Skip to content

Commit

Permalink
fix(fixtures): use the defined configuration file for fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Dec 7, 2021
1 parent cb412a9 commit bbc58d7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test-fixtures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ jobs:
run: |
cd .workspace
fixtures_dir=${GITHUB_WORKSPACE}/.github/fixtures
docker run -t -v "$(pwd)/.git":/app/ orhunp/git-cliff:latest \
--config "$fixtures_dir/cliff.toml" > "$fixtures_dir/output.md"
docker run -t \
-v "$(pwd)/.git":/app/
-v "$fixtures_dir/cliff.toml":/app/cliff.toml \
orhunp/git-cliff:latest > "$fixtures_dir/output.md"
- name: Compare the output with the expected output
run: |
cd ${GITHUB_WORKSPACE}/.github/fixtures
Expand Down

0 comments on commit bbc58d7

Please sign in to comment.