From b36c46ca04b8e5bc50580d706ccb5cd6acca2acf Mon Sep 17 00:00:00 2001 From: LucyJimenez Date: Wed, 16 Feb 2022 17:46:45 -0500 Subject: [PATCH 01/16] add matrix to ci --- .github/workflows/ci.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3fc1695a9..469494a58 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,3 +1,5 @@ + + name: CI on: [push, pull_request] @@ -6,11 +8,21 @@ jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.7", "3.8", "3.9", "3.10"] + steps: - - uses: actions/checkout@v2 + - name: Checkout source + uses: actions/checkout@v2 - name: Install dependencies - run: pip install flake8 + run: | + pip install -r requirements-dev.txt + pip install flake8 - name: flake8 - run: flake8 . + run: flake8 . + + - name: Run tests + run: pytest \ No newline at end of file From 2bf99ea2221b57beffc66d4f8b9aa66379ec5621 Mon Sep 17 00:00:00 2001 From: LucyJimenez Date: Thu, 17 Feb 2022 16:57:39 -0500 Subject: [PATCH 02/16] fix python versions --- .github/workflows/ci.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 469494a58..2ff01ed2a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,3 @@ - - name: CI on: [push, pull_request] @@ -10,19 +8,22 @@ jobs: strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.7", "3.10"] steps: - name: Checkout source uses: actions/checkout@v2 - name: Install dependencies - run: | - pip install -r requirements-dev.txt - pip install flake8 - - - name: flake8 - run: flake8 . + run: pip install -r requirements-dev.txt - name: Run tests - run: pytest \ No newline at end of file + run: pytest + + flake8: + steps: + - name: Install dependencies + run: pip install flake8 + + - name: flake8 + run: flake8 . \ No newline at end of file From f535a15f3900c389ba8806363a56e4add64bae33 Mon Sep 17 00:00:00 2001 From: LucyJimenez Date: Thu, 17 Feb 2022 17:07:46 -0500 Subject: [PATCH 03/16] fix ci file --- .github/workflows/ci.yml | 5 ----- requirements-dev.txt | 1 + 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2ff01ed2a..a07b45133 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,11 +19,6 @@ jobs: - name: Run tests run: pytest - - flake8: - steps: - - name: Install dependencies - run: pip install flake8 - name: flake8 run: flake8 . \ No newline at end of file diff --git a/requirements-dev.txt b/requirements-dev.txt index c75220b80..837754557 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,6 +2,7 @@ pytest>=4.4.0; platform_python_implementation != "PyPy" pytest>=4.4.0,<5.0; platform_python_implementation == "PyPy" virtualenv>=1.7 filelock +flake8 six pip setuptools From 32f797f32dc25a754b9c23b74118271cb73d0692 Mon Sep 17 00:00:00 2001 From: LucyJimenez Date: Fri, 18 Feb 2022 07:41:09 -0500 Subject: [PATCH 04/16] fix ci file --- .github/workflows/ci.yml | 12 ++++++++++-- requirements-dev.txt | 1 - 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a07b45133..007e021e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ name: CI on: [push, pull_request] jobs: - build: + test: runs-on: ubuntu-latest strategy: @@ -19,6 +19,14 @@ jobs: - name: Run tests run: pytest - + + flake8-formatting: + name: code autoformatting with flake8 + runs-on: ubuntu-latest + + steps: + - name: Install dependencies + run: pip install flake8 + - name: flake8 run: flake8 . \ No newline at end of file diff --git a/requirements-dev.txt b/requirements-dev.txt index 837754557..c75220b80 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,7 +2,6 @@ pytest>=4.4.0; platform_python_implementation != "PyPy" pytest>=4.4.0,<5.0; platform_python_implementation == "PyPy" virtualenv>=1.7 filelock -flake8 six pip setuptools From f4c10b403821611ae5e26919bba7c7a227bce82c Mon Sep 17 00:00:00 2001 From: LucyJimenez Date: Fri, 18 Feb 2022 07:44:38 -0500 Subject: [PATCH 05/16] fix ci file --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 007e021e2..fe97accd7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,8 @@ on: [push, pull_request] jobs: test: + name: test w/ Python + runs-on: ubuntu-latest strategy: From b1f9915037170663971695ca0d13c5643396ed1b Mon Sep 17 00:00:00 2001 From: LucyJimenez Date: Fri, 18 Feb 2022 07:49:15 -0500 Subject: [PATCH 06/16] fix ci file --- .github/workflows/ci.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe97accd7..372fff6e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,30 +5,23 @@ on: [push, pull_request] jobs: test: name: test w/ Python - runs-on: ubuntu-latest - strategy: matrix: python-version: ["3.7", "3.10"] - steps: - name: Checkout source uses: actions/checkout@v2 - - name: Install dependencies run: pip install -r requirements-dev.txt - - name: Run tests run: pytest flake8-formatting: name: code autoformatting with flake8 runs-on: ubuntu-latest - steps: - name: Install dependencies run: pip install flake8 - - name: flake8 run: flake8 . \ No newline at end of file From b31a5aeb517e62c3b080c29dd15926baecaf3460 Mon Sep 17 00:00:00 2001 From: LucyJimenez Date: Fri, 18 Feb 2022 07:52:24 -0500 Subject: [PATCH 07/16] fix ci file --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 372fff6e7..bc8f5cd44 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,7 @@ name: CI on: [push, pull_request] -jobs: +jobs: test: name: test w/ Python runs-on: ubuntu-latest From a65cbdf4060c389a09164e7714178922382b9557 Mon Sep 17 00:00:00 2001 From: LucyJimenez Date: Fri, 18 Feb 2022 07:59:34 -0500 Subject: [PATCH 08/16] fix ci file --- .github/workflows/ci.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc8f5cd44..71d60caf1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,13 +15,4 @@ jobs: - name: Install dependencies run: pip install -r requirements-dev.txt - name: Run tests - run: pytest - - flake8-formatting: - name: code autoformatting with flake8 - runs-on: ubuntu-latest - steps: - - name: Install dependencies - run: pip install flake8 - - name: flake8 - run: flake8 . \ No newline at end of file + run: pytest \ No newline at end of file From fb3cb9093d711a114cef5de956ce2c381a7cbecd Mon Sep 17 00:00:00 2001 From: LucyJimenez Date: Fri, 18 Feb 2022 08:14:13 -0500 Subject: [PATCH 09/16] fix ci file --- .github/workflows/ci.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 71d60caf1..7ef5621e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,9 +10,18 @@ jobs: matrix: python-version: ["3.7", "3.10"] steps: - - name: Checkout source - uses: actions/checkout@v2 + - uses: actions/checkout@v2 - name: Install dependencies run: pip install -r requirements-dev.txt - name: Run tests - run: pytest \ No newline at end of file + run: pytest + + flake8-formatting: + name: code autoformatting with flake8 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install dependencies + run: pip install flake8 + - name: Check code with flake8 + run: flake8 . \ No newline at end of file From e9a131d49563e3b33a601afd1f77dee67ec66f94 Mon Sep 17 00:00:00 2001 From: LucyJimenez Date: Fri, 18 Feb 2022 09:18:10 -0500 Subject: [PATCH 10/16] fix ci file --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ef5621e5..5abf20df9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,7 @@ name: CI on: [push, pull_request] -jobs: +jobs: test: name: test w/ Python runs-on: ubuntu-latest @@ -17,8 +17,8 @@ jobs: run: pytest flake8-formatting: - name: code autoformatting with flake8 - runs-on: ubuntu-latest + name: code autoformatting with flake8 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Install dependencies From ae86bd81f900dd5cccd7f0d8010076b2a05271fe Mon Sep 17 00:00:00 2001 From: LucyJimenez Date: Fri, 18 Feb 2022 11:43:20 -0500 Subject: [PATCH 11/16] update ci file --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5abf20df9..c24f997fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: test: - name: test w/ Python + name: test runs-on: ubuntu-latest strategy: matrix: @@ -17,7 +17,7 @@ jobs: run: pytest flake8-formatting: - name: code autoformatting with flake8 + name: code linting with flake8 runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 From 2cede8347e79ed5a24093488d519ac6daea8f738 Mon Sep 17 00:00:00 2001 From: LucyJimenez Date: Fri, 18 Feb 2022 12:19:39 -0500 Subject: [PATCH 12/16] update ci file --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c24f997fd..1d6d9523c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,8 @@ jobs: python-version: ["3.7", "3.10"] steps: - uses: actions/checkout@v2 + with: + python-version: ${{ matrix.python-version }} - name: Install dependencies run: pip install -r requirements-dev.txt - name: Run tests From 57a175417b17dd9b648ed5c2e55c655651cd1ef0 Mon Sep 17 00:00:00 2001 From: LucyJimenez Date: Fri, 18 Feb 2022 12:33:10 -0500 Subject: [PATCH 13/16] Revert "update ci file" This reverts commit 2cede8347e79ed5a24093488d519ac6daea8f738. --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1d6d9523c..c24f997fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,8 +11,6 @@ jobs: python-version: ["3.7", "3.10"] steps: - uses: actions/checkout@v2 - with: - python-version: ${{ matrix.python-version }} - name: Install dependencies run: pip install -r requirements-dev.txt - name: Run tests From b4f0b91090e54cac1052bd0969892dfa6390e6c4 Mon Sep 17 00:00:00 2001 From: LucyJimenez Date: Fri, 18 Feb 2022 12:42:40 -0500 Subject: [PATCH 14/16] update ci file --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c24f997fd..7dbe01279 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,10 @@ jobs: python-version: ["3.7", "3.10"] steps: - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + - uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} - name: Install dependencies run: pip install -r requirements-dev.txt - name: Run tests From bf841e52e7c1514b13e47ebdeee74e6484faf67f Mon Sep 17 00:00:00 2001 From: LucyJimenez Date: Fri, 18 Feb 2022 12:44:13 -0500 Subject: [PATCH 15/16] Revert "update ci file" This reverts commit b4f0b91090e54cac1052bd0969892dfa6390e6c4. --- .github/workflows/ci.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7dbe01279..c24f997fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,10 +11,6 @@ jobs: python-version: ["3.7", "3.10"] steps: - uses: actions/checkout@v2 - - name: Set up Python ${{ matrix.python-version }} - - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - name: Install dependencies run: pip install -r requirements-dev.txt - name: Run tests From e077a6f3419c3d4d01f2913f0fa2820c07ea02ff Mon Sep 17 00:00:00 2001 From: LucyJimenez Date: Sat, 19 Feb 2022 12:28:25 -0500 Subject: [PATCH 16/16] update ci file --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c24f997fd..5ed45ec97 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,10 @@ jobs: python-version: ["3.7", "3.10"] steps: - uses: actions/checkout@v2 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python-version }} - name: Install dependencies run: pip install -r requirements-dev.txt - name: Run tests