Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
edublancas committed Jun 24, 2023
1 parent 96148da commit 9146aff
Showing 1 changed file with 10 additions and 21 deletions.
31 changes: 10 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,18 @@ jobs:
with:
python-version: '3.10'

- name: Install dependencies
- name: Install pkgmt
run: |
python -m pip install --upgrade pip
pip install pkgmt
pip install 'pkgmt[check]'
- name: Lint
run: |
pkgmt lint
- name: Check project
run: |
pkgmt check
- name: Check doc/ Modified
id: check_doc_modified
Expand Down Expand Up @@ -72,25 +80,6 @@ jobs:
exit 0
fi
check-pkgmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: '3.10'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install 'pkgmt[check]'
- name: Check project
run: |
pkgmt check
test:
needs: [check]
if: needs.check.outputs.check_doc_modified == 'failure'
Expand Down

0 comments on commit 9146aff

Please sign in to comment.