Skip to content

Commit

Permalink
ci: verify pip conf script in multi python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
waketzheng committed Oct 21, 2024
1 parent 49f7594 commit 4805343
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,24 +60,17 @@ jobs:
- name: Check code style and Type Hint
run: poetry run fast check
- name: Verify pip conf script
run: |
poetry run python pip_conf.py
./pip_conf.py
run: ./pip_conf.py

py27:
runs-on: ubuntu-latest
ConfPip:
strategy:
matrix:
python-version: [2.7]
python-version: [2.7, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13]
steps:
- uses: actions/checkout@v4
- name: Setup Python
id: setup-python
uses: actions/setup-python@v5
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Check pip config script with python2.7
run: |
python pip_conf.py
./pip_conf.py
- name: Verify pip conf script
run: python pip_conf.py

0 comments on commit 4805343

Please sign in to comment.