Skip to content

Commit

Permalink
CI: add py3.10 & default py3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Jan 10, 2022
1 parent 3bd4fb0 commit de07c85
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci_install-pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@master
- uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.8

- name: Check package
run: |
Expand All @@ -40,7 +40,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, macOS-10.15 , windows-2019]
python-version: [3.7]
python-version: [3.8]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_test-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2019, macOS-10.15]
python-version: [3.7]
python-version: [3.8]
env:
PYTEST_ARTEFACT: pytest-results-${{ matrix.os }}-${{ matrix.python-version }}
PYTORCH_URL: https://download.pytorch.org/whl/cpu/torch_stable.html
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ci_test-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ jobs:
python-version: ["3.8"]
pytorch-version: ["1.4", "1.5", "1.6", "1.7", "1.8", "1.9", "1.10", "1.11"]
include:
- python-version: 3.7
pytorch-version: '1.3'
- {python-version: 3.7, pytorch-version: '1.3'}
env:
PYTEST_ARTEFACT: test-conda-py${{ matrix.python-version }}-pt${{ matrix.pytorch-version }}.xml
TRANSFORMERS_CACHE: .cache/huggingface/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci_test-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, macOS-10.15, windows-2019]
python-version: [3.6, 3.8, 3.9]
python-version: ["3.6", "3.8", "3.10"]
requires: ['oldest', 'latest']
exclude:
- {python-version: 3.6, requires: 'latest'}
- {python-version: 3.9, requires: 'oldest'}
- {python-version: "3.6", requires: 'latest'}
- {python-version: "3.10", requires: 'oldest'}
env:
PYTEST_ARTEFACT: test-results-${{ matrix.os }}-py${{ matrix.python-version }}-${{ matrix.requires }}.xml
PYTORCH_URL: https://download.pytorch.org/whl/cpu/torch_stable.html
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@master
- uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.8
- name: Install dependencies
run: |
pip install flake8
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.8

- name: Install dependencies
run: >-
Expand Down

0 comments on commit de07c85

Please sign in to comment.