From c6723c296e04d074000bbf72c30f66574f2eeab2 Mon Sep 17 00:00:00 2001 From: Sammi De Guzman Date: Tue, 26 Sep 2023 22:18:02 -0700 Subject: [PATCH] ci: Regenerate CI workflows --- .github/workflows/ci.yml | 82 ++++++++++++++++++++-------------------- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9432dbb01..7b2777de9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,9 +38,9 @@ jobs: job_cache_extra_deps=(); job_id=test_linux; job_name='Test (Linux)'; job_needs=(); job_os=Linux; job_platform=ubuntu-22.04; job_python=3.9; job_reqs=(reqs/dist.txt reqs/test.txt); job_skip_cache_name=skip_test_linux_py-3.9_ubuntu-22.04; job_skip_cache_path=.skip_cache_test_linux; job_skiplists=(job_test os_linux); job_test_args='-p no:pytest-qt --ignore=test/gui_qt'; job_type=test; job_variant=Linux; analyze_set_job_skip_cache_key job_cache_extra_deps=(osx/deps.sh); job_id=test_macos; job_name='Test (macOS)'; job_needs=(); job_os=macOS; job_platform=macos-12; job_python=3.9; job_reqs=(reqs/dist.txt reqs/test.txt); job_skip_cache_name=skip_test_macos_py-3.9_macos-12; job_skip_cache_path=.skip_cache_test_macos; job_skiplists=(job_test os_macos); job_test_args='-p no:pytest-qt --ignore=test/gui_qt'; job_type=test; job_variant=macOS; analyze_set_job_skip_cache_key job_cache_extra_deps=(); job_id=test_windows; job_name='Test (Windows)'; job_needs=(); job_os=Windows; job_platform=windows-2022; job_python=3.9; job_reqs=(reqs/dist.txt reqs/test.txt); job_skip_cache_name=skip_test_windows_py-3.9_windows-2022; job_skip_cache_path=.skip_cache_test_windows; job_skiplists=(job_test os_windows); job_test_args='-p no:pytest-qt --ignore=test/gui_qt'; job_type=test; job_variant=Windows; analyze_set_job_skip_cache_key - job_cache_extra_deps=(); job_id=test_python_37; job_name='Test (Python 3.7)'; job_needs=(); job_os=Linux; job_platform=ubuntu-latest; job_python=3.7; job_reqs=(reqs/dist.txt reqs/test.txt); job_skip_cache_name=skip_test_python_37_py-3.7_ubuntu-latest; job_skip_cache_path=.skip_cache_test_python_37; job_skiplists=(job_test os_linux os_macos os_windows); job_test_args='-p no:pytest-qt --ignore=test/gui_qt'; job_type=test; job_variant='Python 3.7'; analyze_set_job_skip_cache_key job_cache_extra_deps=(); job_id=test_python_38; job_name='Test (Python 3.8)'; job_needs=(); job_os=Linux; job_platform=ubuntu-latest; job_python=3.8; job_reqs=(reqs/dist.txt reqs/test.txt); job_skip_cache_name=skip_test_python_38_py-3.8_ubuntu-latest; job_skip_cache_path=.skip_cache_test_python_38; job_skiplists=(job_test os_linux os_macos os_windows); job_test_args='-p no:pytest-qt --ignore=test/gui_qt'; job_type=test; job_variant='Python 3.8'; analyze_set_job_skip_cache_key job_cache_extra_deps=(); job_id=test_python_310; job_name='Test (Python 3.10)'; job_needs=(); job_os=Linux; job_platform=ubuntu-latest; job_python=3.10; job_reqs=(reqs/dist.txt reqs/test.txt); job_skip_cache_name=skip_test_python_310_py-3.10_ubuntu-latest; job_skip_cache_path=.skip_cache_test_python_310; job_skiplists=(job_test os_linux os_macos os_windows); job_test_args='-p no:pytest-qt --ignore=test/gui_qt'; job_type=test; job_variant='Python 3.10'; analyze_set_job_skip_cache_key + job_cache_extra_deps=(); job_id=test_python_311; job_name='Test (Python 3.11)'; job_needs=(); job_os=Linux; job_platform=ubuntu-latest; job_python=3.11; job_reqs=(reqs/dist.txt reqs/test.txt); job_skip_cache_name=skip_test_python_311_py-3.11_ubuntu-latest; job_skip_cache_path=.skip_cache_test_python_311; job_skiplists=(job_test os_linux os_macos os_windows); job_test_args='-p no:pytest-qt --ignore=test/gui_qt'; job_type=test; job_variant='Python 3.11'; analyze_set_job_skip_cache_key job_cache_extra_deps=(); job_id=test_qt_gui; job_name='Test (Qt GUI)'; job_needs=(); job_os=Linux; job_platform=ubuntu-22.04; job_python=3.9; job_reqs=(reqs/dist.txt reqs/dist_extra_gui_qt.txt reqs/test.txt); job_skip_cache_name=skip_test_qt_gui_py-3.9_ubuntu-22.04; job_skip_cache_path=.skip_cache_test_qt_gui; job_skiplists=(job_test_gui_qt); job_test_args=test/gui_qt; job_type=test_gui_qt; job_variant='Qt GUI'; analyze_set_job_skip_cache_key job_cache_extra_deps=(); job_id=test_packaging; job_name='Test (Packaging)'; job_needs=(); job_os=Linux; job_platform=ubuntu-latest; job_python=3.9; job_reqs=(reqs/packaging.txt reqs/setup.txt); job_skip_cache_name=skip_test_packaging_py-3.9_ubuntu-latest; job_skip_cache_path=.skip_cache_test_packaging; job_skiplists=(job_test_packaging); job_type=test_packaging; job_variant=Packaging; analyze_set_job_skip_cache_key job_cache_extra_deps=('reqs/dist_*.txt' linux/appimage/deps.sh); job_id=build_linux; job_name='Build (Linux)'; job_needs=(test_linux); job_os=Linux; job_platform=ubuntu-22.04; job_python=3.9; job_reqs=(reqs/build.txt reqs/setup.txt); job_skip_cache_name=skip_build_linux_py-3.9_ubuntu-22.04; job_skip_cache_path=.skip_cache_build_linux; job_skiplists=(job_build os_linux); job_type=build; job_variant=Linux; analyze_set_job_skip_cache_key @@ -71,14 +71,6 @@ jobs: restore-keys: 0_${{ steps.set_cache.outputs.test_windows_skip_cache_key }} - - name: Check skip cache for Test (Python 3.7) - uses: actions/cache@v3 - with: - path: .skip_cache_test_python_37 - key: 0_check_${{ steps.set_cache.outputs.test_python_37_skip_cache_key }}_${{ github.run_id }} - restore-keys: - 0_${{ steps.set_cache.outputs.test_python_37_skip_cache_key }} - - name: Check skip cache for Test (Python 3.8) uses: actions/cache@v3 with: @@ -95,6 +87,14 @@ jobs: restore-keys: 0_${{ steps.set_cache.outputs.test_python_310_skip_cache_key }} + - name: Check skip cache for Test (Python 3.11) + uses: actions/cache@v3 + with: + path: .skip_cache_test_python_311 + key: 0_check_${{ steps.set_cache.outputs.test_python_311_skip_cache_key }}_${{ github.run_id }} + restore-keys: + 0_${{ steps.set_cache.outputs.test_python_311_skip_cache_key }} + - name: Check skip cache for Test (Qt GUI) uses: actions/cache@v3 with: @@ -144,9 +144,9 @@ jobs: job_cache_extra_deps=(); job_id=test_linux; job_name='Test (Linux)'; job_needs=(); job_os=Linux; job_platform=ubuntu-22.04; job_python=3.9; job_reqs=(reqs/dist.txt reqs/test.txt); job_skip_cache_name=skip_test_linux_py-3.9_ubuntu-22.04; job_skip_cache_path=.skip_cache_test_linux; job_skiplists=(job_test os_linux); job_test_args='-p no:pytest-qt --ignore=test/gui_qt'; job_type=test; job_variant=Linux; analyze_set_job_skip_job job_cache_extra_deps=(osx/deps.sh); job_id=test_macos; job_name='Test (macOS)'; job_needs=(); job_os=macOS; job_platform=macos-12; job_python=3.9; job_reqs=(reqs/dist.txt reqs/test.txt); job_skip_cache_name=skip_test_macos_py-3.9_macos-12; job_skip_cache_path=.skip_cache_test_macos; job_skiplists=(job_test os_macos); job_test_args='-p no:pytest-qt --ignore=test/gui_qt'; job_type=test; job_variant=macOS; analyze_set_job_skip_job job_cache_extra_deps=(); job_id=test_windows; job_name='Test (Windows)'; job_needs=(); job_os=Windows; job_platform=windows-2022; job_python=3.9; job_reqs=(reqs/dist.txt reqs/test.txt); job_skip_cache_name=skip_test_windows_py-3.9_windows-2022; job_skip_cache_path=.skip_cache_test_windows; job_skiplists=(job_test os_windows); job_test_args='-p no:pytest-qt --ignore=test/gui_qt'; job_type=test; job_variant=Windows; analyze_set_job_skip_job - job_cache_extra_deps=(); job_id=test_python_37; job_name='Test (Python 3.7)'; job_needs=(); job_os=Linux; job_platform=ubuntu-latest; job_python=3.7; job_reqs=(reqs/dist.txt reqs/test.txt); job_skip_cache_name=skip_test_python_37_py-3.7_ubuntu-latest; job_skip_cache_path=.skip_cache_test_python_37; job_skiplists=(job_test os_linux os_macos os_windows); job_test_args='-p no:pytest-qt --ignore=test/gui_qt'; job_type=test; job_variant='Python 3.7'; analyze_set_job_skip_job job_cache_extra_deps=(); job_id=test_python_38; job_name='Test (Python 3.8)'; job_needs=(); job_os=Linux; job_platform=ubuntu-latest; job_python=3.8; job_reqs=(reqs/dist.txt reqs/test.txt); job_skip_cache_name=skip_test_python_38_py-3.8_ubuntu-latest; job_skip_cache_path=.skip_cache_test_python_38; job_skiplists=(job_test os_linux os_macos os_windows); job_test_args='-p no:pytest-qt --ignore=test/gui_qt'; job_type=test; job_variant='Python 3.8'; analyze_set_job_skip_job job_cache_extra_deps=(); job_id=test_python_310; job_name='Test (Python 3.10)'; job_needs=(); job_os=Linux; job_platform=ubuntu-latest; job_python=3.10; job_reqs=(reqs/dist.txt reqs/test.txt); job_skip_cache_name=skip_test_python_310_py-3.10_ubuntu-latest; job_skip_cache_path=.skip_cache_test_python_310; job_skiplists=(job_test os_linux os_macos os_windows); job_test_args='-p no:pytest-qt --ignore=test/gui_qt'; job_type=test; job_variant='Python 3.10'; analyze_set_job_skip_job + job_cache_extra_deps=(); job_id=test_python_311; job_name='Test (Python 3.11)'; job_needs=(); job_os=Linux; job_platform=ubuntu-latest; job_python=3.11; job_reqs=(reqs/dist.txt reqs/test.txt); job_skip_cache_name=skip_test_python_311_py-3.11_ubuntu-latest; job_skip_cache_path=.skip_cache_test_python_311; job_skiplists=(job_test os_linux os_macos os_windows); job_test_args='-p no:pytest-qt --ignore=test/gui_qt'; job_type=test; job_variant='Python 3.11'; analyze_set_job_skip_job job_cache_extra_deps=(); job_id=test_qt_gui; job_name='Test (Qt GUI)'; job_needs=(); job_os=Linux; job_platform=ubuntu-22.04; job_python=3.9; job_reqs=(reqs/dist.txt reqs/dist_extra_gui_qt.txt reqs/test.txt); job_skip_cache_name=skip_test_qt_gui_py-3.9_ubuntu-22.04; job_skip_cache_path=.skip_cache_test_qt_gui; job_skiplists=(job_test_gui_qt); job_test_args=test/gui_qt; job_type=test_gui_qt; job_variant='Qt GUI'; analyze_set_job_skip_job job_cache_extra_deps=(); job_id=test_packaging; job_name='Test (Packaging)'; job_needs=(); job_os=Linux; job_platform=ubuntu-latest; job_python=3.9; job_reqs=(reqs/packaging.txt reqs/setup.txt); job_skip_cache_name=skip_test_packaging_py-3.9_ubuntu-latest; job_skip_cache_path=.skip_cache_test_packaging; job_skiplists=(job_test_packaging); job_type=test_packaging; job_variant=Packaging; analyze_set_job_skip_job job_cache_extra_deps=('reqs/dist_*.txt' linux/appimage/deps.sh); job_id=build_linux; job_name='Build (Linux)'; job_needs=(test_linux); job_os=Linux; job_platform=ubuntu-22.04; job_python=3.9; job_reqs=(reqs/build.txt reqs/setup.txt); job_skip_cache_name=skip_build_linux_py-3.9_ubuntu-22.04; job_skip_cache_path=.skip_cache_build_linux; job_skiplists=(job_build os_linux); job_type=build; job_variant=Linux; analyze_set_job_skip_job @@ -162,12 +162,12 @@ jobs: test_macos_skip_cache_key: ${{ steps.set_cache.outputs.test_macos_skip_cache_key }} test_windows_skip_job: ${{ steps.set_ouputs.outputs.test_windows_skip_job }} test_windows_skip_cache_key: ${{ steps.set_cache.outputs.test_windows_skip_cache_key }} - test_python_37_skip_job: ${{ steps.set_ouputs.outputs.test_python_37_skip_job }} - test_python_37_skip_cache_key: ${{ steps.set_cache.outputs.test_python_37_skip_cache_key }} test_python_38_skip_job: ${{ steps.set_ouputs.outputs.test_python_38_skip_job }} test_python_38_skip_cache_key: ${{ steps.set_cache.outputs.test_python_38_skip_cache_key }} test_python_310_skip_job: ${{ steps.set_ouputs.outputs.test_python_310_skip_job }} test_python_310_skip_cache_key: ${{ steps.set_cache.outputs.test_python_310_skip_cache_key }} + test_python_311_skip_job: ${{ steps.set_ouputs.outputs.test_python_311_skip_job }} + test_python_311_skip_cache_key: ${{ steps.set_cache.outputs.test_python_311_skip_cache_key }} test_qt_gui_skip_job: ${{ steps.set_ouputs.outputs.test_qt_gui_skip_job }} test_qt_gui_skip_cache_key: ${{ steps.set_cache.outputs.test_qt_gui_skip_cache_key }} test_packaging_skip_job: ${{ steps.set_ouputs.outputs.test_packaging_skip_job }} @@ -353,15 +353,15 @@ jobs: run: list_cache # }}} - # Job: Test (Python 3.7) {{{ - test_python_37: + # Job: Test (Python 3.8) {{{ + test_python_38: - name: Test (Python 3.7) + name: Test (Python 3.8) runs-on: ubuntu-latest needs: [analyze, ] if: >- !cancelled() - && needs.analyze.outputs.test_python_37_skip_job == 'no' + && needs.analyze.outputs.test_python_38_skip_job == 'no' steps: @@ -371,11 +371,11 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: '3.7' + python-version: '3.8' - name: Set cache name id: set_cache - run: setup_cache_name '3.7' 'ubuntu-latest' + run: setup_cache_name '3.8' 'ubuntu-latest' - name: Setup cache uses: actions/cache@v3 @@ -399,25 +399,25 @@ jobs: - name: Update skip cache 1 uses: actions/cache@v3 with: - path: .skip_cache_test_python_37 - key: 0_${{ needs.analyze.outputs.test_python_37_skip_cache_key }} + path: .skip_cache_test_python_38 + key: 0_${{ needs.analyze.outputs.test_python_38_skip_cache_key }} - name: Update skip cache 2 - run: run_eval "echo 'https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID' >'.skip_cache_test_python_37'" + run: run_eval "echo 'https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID' >'.skip_cache_test_python_38'" - name: List cache contents run: list_cache # }}} - # Job: Test (Python 3.8) {{{ - test_python_38: + # Job: Test (Python 3.10) {{{ + test_python_310: - name: Test (Python 3.8) + name: Test (Python 3.10) runs-on: ubuntu-latest needs: [analyze, ] if: >- !cancelled() - && needs.analyze.outputs.test_python_38_skip_job == 'no' + && needs.analyze.outputs.test_python_310_skip_job == 'no' steps: @@ -427,11 +427,11 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: '3.8' + python-version: '3.10' - name: Set cache name id: set_cache - run: setup_cache_name '3.8' 'ubuntu-latest' + run: setup_cache_name '3.10' 'ubuntu-latest' - name: Setup cache uses: actions/cache@v3 @@ -455,25 +455,25 @@ jobs: - name: Update skip cache 1 uses: actions/cache@v3 with: - path: .skip_cache_test_python_38 - key: 0_${{ needs.analyze.outputs.test_python_38_skip_cache_key }} + path: .skip_cache_test_python_310 + key: 0_${{ needs.analyze.outputs.test_python_310_skip_cache_key }} - name: Update skip cache 2 - run: run_eval "echo 'https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID' >'.skip_cache_test_python_38'" + run: run_eval "echo 'https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID' >'.skip_cache_test_python_310'" - name: List cache contents run: list_cache # }}} - # Job: Test (Python 3.10) {{{ - test_python_310: + # Job: Test (Python 3.11) {{{ + test_python_311: - name: Test (Python 3.10) + name: Test (Python 3.11) runs-on: ubuntu-latest needs: [analyze, ] if: >- !cancelled() - && needs.analyze.outputs.test_python_310_skip_job == 'no' + && needs.analyze.outputs.test_python_311_skip_job == 'no' steps: @@ -483,11 +483,11 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.11' - name: Set cache name id: set_cache - run: setup_cache_name '3.10' 'ubuntu-latest' + run: setup_cache_name '3.11' 'ubuntu-latest' - name: Setup cache uses: actions/cache@v3 @@ -511,11 +511,11 @@ jobs: - name: Update skip cache 1 uses: actions/cache@v3 with: - path: .skip_cache_test_python_310 - key: 0_${{ needs.analyze.outputs.test_python_310_skip_cache_key }} + path: .skip_cache_test_python_311 + key: 0_${{ needs.analyze.outputs.test_python_311_skip_cache_key }} - name: Update skip cache 2 - run: run_eval "echo 'https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID' >'.skip_cache_test_python_310'" + run: run_eval "echo 'https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID' >'.skip_cache_test_python_311'" - name: List cache contents run: list_cache @@ -904,15 +904,15 @@ jobs: name: Release environment: release runs-on: ubuntu-latest - needs: [analyze, test_linux, test_macos, test_windows, test_python_37, test_python_38, test_python_310, test_qt_gui, test_packaging, build_linux, build_macos, build_windows] + needs: [analyze, test_linux, test_macos, test_windows, test_python_38, test_python_310, test_python_311, test_qt_gui, test_packaging, build_linux, build_macos, build_windows] if: >- !cancelled() && needs.test_linux.result == 'success' && needs.test_macos.result == 'success' && needs.test_windows.result == 'success' - && needs.test_python_37.result == 'success' && needs.test_python_38.result == 'success' && needs.test_python_310.result == 'success' + && needs.test_python_311.result == 'success' && needs.test_qt_gui.result == 'success' && needs.test_packaging.result == 'success' && needs.build_linux.result == 'success'