Skip to content

Commit

Permalink
Add test target to Makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
  • Loading branch information
thombashi committed May 1, 2024
1 parent 0513931 commit 3838c34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
- run: make setup-ci

- name: Run tests
run: |
tox -e py
run: make test
env:
PYTEST_DISCORD_WEBHOOK: ${{ secrets.PYTEST_DISCORD_WEBHOOK }}
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ setup-dev: setup-ci
$(PYTHON) -m pip install -q --disable-pip-version-check --upgrade -e .[test]
$(PYTHON) -m pip check

.PHONY: test
test:
$(PYTHON) -m tox -e py

.PHONY: update-releases-info
update-releases-info:
@curl -sSL https://api.github.com/repos/thombashi/tcconfig/releases/latest > info/release_latest.json

0 comments on commit 3838c34

Please sign in to comment.