Skip to content

Commit

Permalink
fix the workflow trigger
Browse files Browse the repository at this point in the history
Signed-off-by: Frost Ming <[email protected]>
  • Loading branch information
frostming committed Apr 7, 2023
1 parent 5762d87 commit 60abe26
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
push:
branches:
- main
paths-ignore:
- 'docs/**'
- '*.md'
tags:
- '*'

permissions:
contents: write
Expand Down Expand Up @@ -37,11 +42,8 @@ jobs:
run: python -m pip install -U copier
- name: Setup Tests(Unix)
run: bash tests/setup.sh

if: runner.os != 'Windows'
- name: Setup Tests(Windows)
run: ./tests/setup.ps1
if: runner.os == 'Windows'

- name: Run Tests
run: |
pdm use -f ${{ matrix.python-version }}
Expand Down

0 comments on commit 60abe26

Please sign in to comment.