Skip to content

Commit

Permalink
Refactor CI
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 Apr 27, 2024
1 parent c345169 commit a1ee0ed
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ on:
- "README.rst"
- "ss/*"
pull_request:
# branches-ignore:
# - master
paths-ignore:
- ".gitignore"
- "README.rst"
Expand Down Expand Up @@ -158,19 +156,18 @@ jobs:
**/*requirements.txt
tox.ini
- name: Install pip
- name: Upgrade pip
run: python -m pip install --upgrade --disable-pip-version-check pip

- run: make setup-ci

- name: Run tests
run: |
tox -e cov
run: tox -e cov
env:
PYTEST_DISCORD_WEBHOOK: ${{ secrets.PYTEST_DISCORD_WEBHOOK }}

- name: Upload coverage report
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8'
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
run: |
python -m pip install --upgrade --disable-pip-version-check coveralls tomli
coveralls --service=github
Expand Down

0 comments on commit a1ee0ed

Please sign in to comment.