From fcab3dc52251d2a7519f3bea250888614065d3c6 Mon Sep 17 00:00:00 2001 From: unna97 <31486108+unna97@users.noreply.github.com> Date: Fri, 27 Oct 2023 20:35:48 +0530 Subject: [PATCH 1/6] Add a few IDE and enviroments to .gitignore --- .gitignore | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.gitignore b/.gitignore index 116cd87bce..2e07519644 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,10 @@ node_modules/ *.log # Desktop Service Store *.DS_Store + +# env +bugbug-dev + +# IDE +.idea/ +.vscode/ From d866b38580dd11bfa94568f02ae109d77dccac3d Mon Sep 17 00:00:00 2001 From: unna97 <31486108+unna97@users.noreply.github.com> Date: Fri, 27 Oct 2023 20:36:38 +0530 Subject: [PATCH 2/6] Test editable enviroment with different os and py --- .github/workflows/test.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/test.yaml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000000..4db6e4773d --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,24 @@ +name: Tests + +on: [pull_request, workflow_dispatch] + +jobs: + test-editable-install: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + python-version: ["3.9", "3.10", "3.11"] + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + - name: Install editable + run: | + pip install -e . From 2d23488e6ca26a41214afadaff0f1dd70825f92e Mon Sep 17 00:00:00 2001 From: unna97 <31486108+unna97@users.noreply.github.com> Date: Fri, 27 Oct 2023 21:24:28 +0530 Subject: [PATCH 3/6] Remove Py 3.11 due to current incompatiblitiy --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4db6e4773d..7397dad592 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -8,7 +8,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10"] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} From b646a445e9753af3ebebea1e95c512d90338c45a Mon Sep 17 00:00:00 2001 From: unna97 <31486108+unna97@users.noreply.github.com> Date: Fri, 27 Oct 2023 22:54:40 +0530 Subject: [PATCH 4/6] Update .github/workflows/test.yaml Co-authored-by: Suhaib Mujahid --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 7397dad592..2e8f9319ef 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -8,7 +8,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.9", "3.10"] + python-version: ["3.10", "3.11"] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} From cb608d2a5bf1758a6315b5006f563bd7163d2986 Mon Sep 17 00:00:00 2001 From: unna97 <31486108+unna97@users.noreply.github.com> Date: Fri, 27 Oct 2023 22:55:10 +0530 Subject: [PATCH 5/6] Update .github/workflows/test.yaml Co-authored-by: Suhaib Mujahid --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 2e8f9319ef..c8996b8906 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -3,7 +3,7 @@ name: Tests on: [pull_request, workflow_dispatch] jobs: - test-editable-install: + pip-install: runs-on: ${{ matrix.os }} strategy: matrix: From dcc2318a9bbcb89d63d3952c508b9928c09bdfa5 Mon Sep 17 00:00:00 2001 From: unna97 <31486108+unna97@users.noreply.github.com> Date: Sat, 28 Oct 2023 20:41:58 +0530 Subject: [PATCH 6/6] Remove files from gitignore and remove pip upgrade step --- .github/workflows/test.yaml | 37 ++++++++++++++++++------------------- .gitignore | 7 ------- 2 files changed, 18 insertions(+), 26 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index c8996b8906..90a67cc544 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -3,22 +3,21 @@ name: Tests on: [pull_request, workflow_dispatch] jobs: - pip-install: - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.10", "3.11"] - steps: - - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - - name: Install editable - run: | - pip install -e . + pip-install: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + python-version: ["3.10", "3.11"] + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + pip install -r requirements.txt + - name: Install editable + run: | + pip install -e . diff --git a/.gitignore b/.gitignore index 2e07519644..116cd87bce 100644 --- a/.gitignore +++ b/.gitignore @@ -50,10 +50,3 @@ node_modules/ *.log # Desktop Service Store *.DS_Store - -# env -bugbug-dev - -# IDE -.idea/ -.vscode/