Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
narumiruna committed Feb 5, 2024
1 parent 23f9838 commit 380fa7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Publish

on:
push:
workflow_dispatch:
tags:
- "v*.*.*"

Expand All @@ -15,7 +16,7 @@ jobs:
poetry-version: ["1.7.1"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Python

on:
workflow_dispatch:
push:
branches: ["main"]
pull_request:
Expand All @@ -15,7 +16,7 @@ jobs:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
Expand All @@ -29,6 +30,6 @@ jobs:
pip install pytest pytest-cov
pytest -v -s --cov=. --cov-report=xml tests
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 380fa7d

Please sign in to comment.