From 78bdc9649778f3c464f479807dd6dbbf967d0bc7 Mon Sep 17 00:00:00 2001 From: brandon Date: Tue, 15 Oct 2024 16:14:58 -0700 Subject: [PATCH 1/5] test if we can get pillow to work like this --- .github/workflows/cicd.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index c8444d4d..2eb3d7d4 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -117,9 +117,9 @@ jobs: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') || endsWith(github.ref, '-fulltest') - needs: - - test-simple - - test-docs + # needs: + # - test-simple + # - test-docs runs-on: ubuntu-latest strategy: # fail-fast=false works best for flaky tests with manual "retry failed". @@ -140,6 +140,13 @@ jobs: steps: - name: get code uses: actions/checkout@v4 + # Pillow may need these to function + - name: install potential system dependencies + run: | + sudo apt-get update + sudo apt-get install libtiff5-dev libjpeg8-dev libopenjp2-7-dev zlib1g-dev + libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python3-tk + libharfbuzz-dev libfribidi-dev libxcb1-dev - name: install modern python for poetry uses: actions/setup-python@v4 with: From 9504eda8fe9d70828fc62fdc1cfbffba7985f686 Mon Sep 17 00:00:00 2001 From: brandon Date: Tue, 15 Oct 2024 16:15:28 -0700 Subject: [PATCH 2/5] don't need all of these for test --- .github/workflows/cicd.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index 2eb3d7d4..b186d508 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -130,9 +130,10 @@ jobs: python-version: [ #"3.6", # Default on Ubuntu18.04 but openapi-generator fails # "3.7", # Removed support as of 0.17 - "3.8", - "3.9", - "3.10", + # TEMP + # "3.8", + # "3.9", + # "3.10", "3.11", "3.12", ] From 40df62243b924db1f7778b4dc2d7cd181cde725a Mon Sep 17 00:00:00 2001 From: brandon Date: Tue, 15 Oct 2024 16:18:21 -0700 Subject: [PATCH 3/5] want to run on branch --- .github/workflows/cicd.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index b186d508..7c4dd520 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -113,10 +113,10 @@ jobs: # - releases # - branch names ending with "-fulltest" test-comprehensive: - if: >- - github.ref == 'refs/heads/main' || - startsWith(github.ref, 'refs/tags/v') || - endsWith(github.ref, '-fulltest') + # if: >- + # github.ref == 'refs/heads/main' || + # startsWith(github.ref, 'refs/tags/v') || + # endsWith(github.ref, '-fulltest') # needs: # - test-simple # - test-docs From 81755aad034684697813210009f560238111d706 Mon Sep 17 00:00:00 2001 From: brandon Date: Tue, 15 Oct 2024 16:24:38 -0700 Subject: [PATCH 4/5] proper multiline --- .github/workflows/cicd.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index 7c4dd520..d043517a 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -145,8 +145,8 @@ jobs: - name: install potential system dependencies run: | sudo apt-get update - sudo apt-get install libtiff5-dev libjpeg8-dev libopenjp2-7-dev zlib1g-dev - libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python3-tk + sudo apt-get install libtiff5-dev libjpeg8-dev libopenjp2-7-dev zlib1g-dev \ + libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python3-tk \ libharfbuzz-dev libfribidi-dev libxcb1-dev - name: install modern python for poetry uses: actions/setup-python@v4 From 5aa3413486394f82b592fa49517a658a0dbca728 Mon Sep 17 00:00:00 2001 From: brandon Date: Tue, 15 Oct 2024 16:32:29 -0700 Subject: [PATCH 5/5] Tests start in previous commit --- .github/workflows/cicd.yaml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index d043517a..ba6c8122 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -113,13 +113,13 @@ jobs: # - releases # - branch names ending with "-fulltest" test-comprehensive: - # if: >- - # github.ref == 'refs/heads/main' || - # startsWith(github.ref, 'refs/tags/v') || - # endsWith(github.ref, '-fulltest') - # needs: - # - test-simple - # - test-docs + if: >- + github.ref == 'refs/heads/main' || + startsWith(github.ref, 'refs/tags/v') || + endsWith(github.ref, '-fulltest') + needs: + - test-simple + - test-docs runs-on: ubuntu-latest strategy: # fail-fast=false works best for flaky tests with manual "retry failed". @@ -130,10 +130,9 @@ jobs: python-version: [ #"3.6", # Default on Ubuntu18.04 but openapi-generator fails # "3.7", # Removed support as of 0.17 - # TEMP - # "3.8", - # "3.9", - # "3.10", + "3.8", + "3.9", + "3.10", "3.11", "3.12", ]