Skip to content

Commit

Permalink
Tests: Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
BLKSerene committed Aug 7, 2023
1 parent b19e10d commit 32aeef9
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '3.10'
architecture: 'x64'

- name: Install dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '3.10'
architecture: 'x64'
cache: 'pip'
cache-dependency-path: 'requirements_tests.txt'
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '3.10'
architecture: 'x64'
cache: 'pip'
cache-dependency-path: 'requirements_tests.txt'
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '3.10'
architecture: 'x64'
cache: 'pip'
cache-dependency-path: 'requirements_tests.txt'
Expand Down
8 changes: 4 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ environment:
matrix:
# Windows
- APPVEYOR_BUILD_WORKER_IMAGE: "Visual Studio 2019"
PYTHON: "C:/Python39-x64"
PYTHON: "C:/Python310-x64"
# MacOS
- APPVEYOR_BUILD_WORKER_IMAGE: "macos-catalina"
PYTHON: "~/venv3.9"
PYTHON: "~/venv3.10"
# Linux
- APPVEYOR_BUILD_WORKER_IMAGE: "Ubuntu1804"
PYTHON: "$HOME/venv3.9"
PYTHON: "$HOME/venv3.10"

cache:
# Windows
Expand All @@ -38,7 +38,7 @@ cache:
# Linux
- "/home/appveyor/.cache/pip"

stack: python 3.9
stack: python 3.10

build: off

Expand Down
14 changes: 7 additions & 7 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.9'
versionSpec: '3.10'
architecture: 'x64'

- task: Cache@2
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.9'
versionSpec: '3.10'

- task: Cache@2
inputs:
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.9'
versionSpec: '3.10'

- task: Cache@2
inputs:
Expand All @@ -142,15 +142,15 @@ jobs:
displayName: Cache pip packages

# Check Python version
- script: python3.9 --version
- script: python3.10 --version
displayName: 'Check Python version'

# Install dependencies
- script: |
pip3.9 install --upgrade pip setuptools
pip3.9 install --requirement requirements_tests.txt
pip3.10 install --upgrade pip setuptools
pip3.10 install --requirement requirements_tests.txt
# Download models and data files
python3.9 utils/wl_downloader_ci.py
python3.10 utils/wl_downloader_ci.py
displayName: 'Install dependencies'
# Run tests
Expand Down

0 comments on commit 32aeef9

Please sign in to comment.