Skip to content

Commit

Permalink
fix ci error
Browse files Browse the repository at this point in the history
  • Loading branch information
mozillazg committed Dec 24, 2022
1 parent 35ee079 commit cb86893
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 90 deletions.
8 changes: 1 addition & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
. venv/bin/activate
pip install coveralls
pip install tox
pip install 'tox<4.0.0'
if [[ $RUN_CHECK == 1 ]]; then
pip install -U -r requirements_dev.txt
Expand Down Expand Up @@ -159,14 +159,8 @@ workflows:
version: 2
testing:
jobs:
- python3.11
- python3.10
- python3.9
- python3.8
- python3.7
- python3.6
- python3.5
- python3.4
- python2.7
- pypy2
- pypy3
9 changes: 6 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ updates:
- package-ecosystem: pip
directory: "/"
schedule:
interval: daily
time: "21:00"
open-pull-requests-limit: 10
interval: "weekly"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
21 changes: 12 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,22 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-2019]
# python-version: [2.7, 3.5, 3.6, 3.7, 3.8]
python-version: [3.9]
tox-env: [py27, py36, py37, py38, py39, py310, py311]
os: [windows-2022, ubuntu-22.04]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "pypy3.9"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
python -m pip install tox
- name: Test with tox
run: tox -e ${{ matrix.tox-env}}
python -m pip install 'tox<4.0.0'
python -m pip install -r requirements_dev.txt
- name: Run tests
run: |
py.test --cov pypinyin tests/ pypinyin/
71 changes: 0 additions & 71 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

0 comments on commit cb86893

Please sign in to comment.