Skip to content

Commit

Permalink
add git user info to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Feb 17, 2024
1 parent e6d4838 commit 194d845
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,8 @@ jobs:

# And finally run tests. I'm using pytest and all my pytest config is in my `pyproject.toml`
# so this line is super-simple. But it could be as complex as you need.
- run: poetry run pytest
- run: |
git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com"
poetry run pytest

0 comments on commit 194d845

Please sign in to comment.