Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

run CI on all os #56

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,18 @@ on: pull_request
jobs:
run-linters:
name: Run linters
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
python-version: [3.9, '3.10', 3.11]
defaults:
run:
shell: bash

steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
Expand All @@ -30,12 +34,16 @@ jobs:

run-tests:
name: Run tests
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
needs: run-linters
strategy:
matrix:
python-version: [3.9, '3.10', 3.11]
os: [macos-latest, windows-latest, ubuntu-latest]
pinecone-plan: ["paid", "starter"]
defaults:
run:
shell: bash

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jupyter = "^1.0.0"
pytest = "^7.3.2"
mypy = "^1.4.1"
flake8 = "^6.1.0"
pytest-html = "^3.2.0"
pytest-html = "^4.0.0"
flake8-pyproject = "^1.2.3"
asyncio = "^3.4.3"
pytest-asyncio = "^0.14.0"
Expand Down