"vscode:/vscode.git/clone" did not exist on "74f0d5dee0cfb9719ef2640b3c5462a15117b1ae"
Commit 8b1e652f authored by baberabb's avatar baberabb
Browse files

added multiple python check

parent a005aeba
...@@ -26,7 +26,8 @@ jobs: ...@@ -26,7 +26,8 @@ jobs:
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: 3.9 python-version: 3.9
cache: 'pip' cache: pip
cache-dependency-path: setup.py
- name: Install dependencies - name: Install dependencies
run: pip install -e '.[linting,testing]' --extra-index-url https://download.pytorch.org/whl/cpu run: pip install -e '.[linting,testing]' --extra-index-url https://download.pytorch.org/whl/cpu
- name: Pre-Commit - name: Pre-Commit
...@@ -46,16 +47,20 @@ jobs: ...@@ -46,16 +47,20 @@ jobs:
testcpu: testcpu:
name: CPU Tests name: CPU Tests
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
timeout-minutes: 20 timeout-minutes: 20
steps: steps:
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set up Python 3.9 - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: 3.9 python-version: ${{ matrix.python-version }}
cache: 'pip' cache: pip
cache-dependency-path: setup.py
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment