From bb647a0299c99b65223763392b4eeb61198cfa87 Mon Sep 17 00:00:00 2001 From: Abhinav Singh Date: Sat, 20 Nov 2021 03:50:55 +0530 Subject: [PATCH 01/11] To optimize pull all workflows within check guard --- .github/workflows/codeql-analysis.yml | 81 --------------- .github/workflows/test-brew.yml | 43 -------- .github/workflows/test-dashboard.yml | 40 -------- .github/workflows/test-docker.yml | 47 --------- .github/workflows/test-library.yml | 141 +++++++++++++++++++++++++- .vscode/settings.json | 24 ++++- 6 files changed, 159 insertions(+), 217 deletions(-) delete mode 100644 .github/workflows/codeql-analysis.yml delete mode 100644 .github/workflows/test-brew.yml delete mode 100644 .github/workflows/test-dashboard.yml delete mode 100644 .github/workflows/test-docker.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml deleted file mode 100644 index c7078ec1e2..0000000000 --- a/.github/workflows/codeql-analysis.yml +++ /dev/null @@ -1,81 +0,0 @@ ---- -# For most projects, this workflow file will not need changing; you simply need -# to commit it to your repository. -# -# You may wish to alter this file to override the set of languages analyzed, -# or to provide custom queries or build logic. -name: "CodeQL" - -on: # yamllint disable-line rule:truthy - push: - branches: [develop, master] - pull_request: - branches: [develop, master] - paths: - - '**/*.py' - - '**/*.js' - - '**/*.ts' - schedule: - - cron: '0 14 * * 1' - -jobs: - analyze: - name: Analyze - runs-on: ubuntu-latest - - strategy: - fail-fast: false - matrix: - # Override automatic language detection by changing the below list - # Supported options are - # ['csharp', 'cpp', 'go', 'java', 'javascript', 'python'] - language: ['python', 'javascript'] - # Learn more... - # https://docs.github.com/en/github - # /finding-security-vulnerabilities-and-errors-in-your-code - # /configuring-code-scanning#overriding-automatic-language-detection - - steps: - - name: Checkout repository - uses: actions/checkout@v2 - with: - # We must fetch at least the immediate parents so that if this is - # a pull request then we can checkout the head. - fetch-depth: 2 - - # If this run was triggered by a pull request event, then checkout - # the head of the pull request instead of the merge commit. - - run: git checkout HEAD^2 - if: ${{ github.event_name == 'pull_request' }} - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v1 - with: - languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a - # config file. By default, queries listed here will override any - # specified in a config file. Prefix the list here with "+" to use - # these queries and those in the config file. - # queries: ./path/to/local/query, your-org/your-repo/queries@main - - # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). - # If this step fails, then you should remove it and run the build manually - # (see below) - # - name: Autobuild - # uses: github/codeql-action/autobuild@v1 - - # โ„น๏ธ Command-line programs to run using the OS shell. - # ๐Ÿ“š https://git.io/JvXDl - - # โœ๏ธ If the Autobuild fails above, remove it and uncomment the following - # three lines and modify them (or add more) to build your code if your - # project uses a compiled language - - # - run: | - # make bootstrap - # make release - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 -... diff --git a/.github/workflows/test-brew.yml b/.github/workflows/test-brew.yml deleted file mode 100644 index db898f8320..0000000000 --- a/.github/workflows/test-brew.yml +++ /dev/null @@ -1,43 +0,0 @@ ---- -name: brew - -on: # yamllint disable-line rule:truthy - push: - branches: - - master - - develop - pull_request: - paths: - - 'proxy/**' - - 'tests/**' - - 'examples/**' - - 'requirements*' - - 'setup.cfg' - - 'check.py' - - 'MANIFEST.in' - - '.github/workflows/test-brew.yml' - - 'helper/homebrew/**' - -jobs: - build: - runs-on: ${{ matrix.os }}-latest - name: ๐Ÿ${{ matrix.python }} @ ${{ matrix.os }} - strategy: - matrix: - os: [macOS] - python: ['3.10'] - max-parallel: 1 - fail-fast: false - steps: - - uses: actions/checkout@v2 - - name: Setup Python - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python }} - - name: Brew - run: | - brew install ./helper/homebrew/develop/proxy.rb - - name: Verify - run: | - proxy -h -... diff --git a/.github/workflows/test-dashboard.yml b/.github/workflows/test-dashboard.yml deleted file mode 100644 index 201d91d30d..0000000000 --- a/.github/workflows/test-dashboard.yml +++ /dev/null @@ -1,40 +0,0 @@ ---- -name: dashboard - -on: # yamllint disable-line rule:truthy - push: - branches: - - master - - develop - pull_request: - paths: - - 'dashboard/**' - - '.github/workflows/test-dashboard.yml' - -jobs: - build: - runs-on: ${{ matrix.os }}-latest - name: Node ${{ matrix.node }} @ ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu, windows, macOS] - node: ['10.x', '11.x', '12.x'] - max-parallel: 4 - fail-fast: false - steps: - - uses: actions/checkout@v2 - - name: Setup Node - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node }} - - name: Install Dependencies - run: | - cd dashboard - npm install - cd .. - - name: Build Dashboard - run: | - cd dashboard - npm run build - cd .. -... diff --git a/.github/workflows/test-docker.yml b/.github/workflows/test-docker.yml deleted file mode 100644 index 915cec6ab3..0000000000 --- a/.github/workflows/test-docker.yml +++ /dev/null @@ -1,47 +0,0 @@ ---- -name: docker - -on: # yamllint disable-line rule:truthy - push: - branches: - - master - - develop - pull_request: - paths: - - 'proxy/**' - - 'tests/**' - - 'examples/**' - - 'requirements*' - - 'setup.cfg' - - 'check.py' - - 'MANIFEST.in' - - '.github/workflows/test-docker.yml' - - 'Dockerfile' - -jobs: - build: - runs-on: ${{ matrix.os }}-latest - name: ๐Ÿ${{ matrix.python }} @ ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu] - python: ['3.10'] - max-parallel: 1 - fail-fast: false - steps: - - uses: actions/checkout@v2 - - name: Setup Python - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - pip install -r requirements-release.txt - pip install -r requirements-testing.txt - pip install -r requirements-tunnel.txt - - name: Build - run: | - make container -... diff --git a/.github/workflows/test-library.yml b/.github/workflows/test-library.yml index 3482ed467c..7776a5a4ef 100644 --- a/.github/workflows/test-library.yml +++ b/.github/workflows/test-library.yml @@ -533,10 +533,149 @@ jobs: flags: pytest, GHA, Python ${{ matrix.python }}, ${{ runner.os }} verbose: true + docker: + runs-on: ${{ matrix.os }}-latest + name: ๐Ÿ${{ matrix.python }} @ ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu] + python: ['3.10'] + max-parallel: 1 + fail-fast: false + steps: + - uses: actions/checkout@v2 + - name: Setup Python + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + pip install -r requirements-release.txt + pip install -r requirements-testing.txt + pip install -r requirements-tunnel.txt + - name: Build + run: | + make container + + brew: + runs-on: ${{ matrix.os }}-latest + name: ๐Ÿ${{ matrix.python }} @ ${{ matrix.os }} + strategy: + matrix: + os: [macOS] + python: ['3.10'] + max-parallel: 1 + fail-fast: false + steps: + - uses: actions/checkout@v2 + - name: Setup Python + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python }} + - name: Brew + run: | + brew install ./helper/homebrew/develop/proxy.rb + - name: Verify + run: | + proxy -h + + dashboard: + runs-on: ${{ matrix.os }}-latest + name: Node ${{ matrix.node }} @ ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu, windows, macOS] + node: ['10.x', '11.x', '12.x'] + max-parallel: 4 + fail-fast: false + steps: + - uses: actions/checkout@v2 + - name: Setup Node + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node }} + - name: Install Dependencies + run: | + cd dashboard + npm install + cd .. + - name: Build Dashboard + run: | + cd dashboard + npm run build + cd .. + + analyze: + name: Analyze + runs-on: ubuntu-latest + # schedule: + # - cron: '0 14 * * 1' + strategy: + fail-fast: false + matrix: + # Override automatic language detection by changing the below list + # Supported options are + # ['csharp', 'cpp', 'go', 'java', 'javascript', 'python'] + language: ['python', 'javascript'] + # Learn more... + # https://docs.github.com/en/github + # /finding-security-vulnerabilities-and-errors-in-your-code + # /configuring-code-scanning#overriding-automatic-language-detection + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + with: + # We must fetch at least the immediate parents so that if this is + # a pull request then we can checkout the head. + fetch-depth: 2 + + # If this run was triggered by a pull request event, then checkout + # the head of the pull request instead of the merge commit. + - run: git checkout HEAD^2 + if: ${{ github.event_name == 'pull_request' }} + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v1 + with: + languages: ${{ matrix.language }} + # If you wish to specify custom queries, you can do so here or in a + # config file. By default, queries listed here will override any + # specified in a config file. Prefix the list here with "+" to use + # these queries and those in the config file. + # queries: ./path/to/local/query, your-org/your-repo/queries@main + + # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). + # If this step fails, then you should remove it and run the build manually + # (see below) + # - name: Autobuild + # uses: github/codeql-action/autobuild@v1 + + # โ„น๏ธ Command-line programs to run using the OS shell. + # ๐Ÿ“š https://git.io/JvXDl + + # โœ๏ธ If the Autobuild fails above, remove it and uncomment the following + # three lines and modify them (or add more) to build your code if your + # project uses a compiled language + + # - run: | + # make bootstrap + # make release + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v1 + check: # This job does nothing and is only used for the branch protection needs: - - lint + - analyze - test + - lint + - brew + - dashboard + - docker runs-on: ubuntu-latest diff --git a/.vscode/settings.json b/.vscode/settings.json index 3cf36eb564..4125acfda4 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,11 +1,27 @@ { + "editor.rulers": [100], "editor.defaultFormatter": "esbenp.prettier-vscode", - "editor.formatOnSave": true, "editor.formatOnSaveMode": "modifications", + "editor.formatOnSave": true, "editor.codeActionsOnSave": { "source.fixAll": true }, - "editor.rulers": [100], + "[yaml]": { + "editor.insertSpaces": true, + "editor.tabSize": 2, + "editor.autoIndent": "advanced", + "editor.defaultFormatter": "rvest.vs-code-prettier-eslint" + }, + "[typescript]": { + "editor.formatOnSave": true, + "editor.defaultFormatter": "rvest.vs-code-prettier-eslint", + }, + "typescript.format.semicolons": "remove", + "typescript.preferences.quoteStyle": "single", + "[python]": { + "editor.wordBasedSuggestions": true, + "editor.defaultFormatter": "rvest.vs-code-prettier-eslint" + }, "python.testing.unittestEnabled": false, "python.testing.autoTestDiscoverOnSaveEnabled": true, "python.testing.pytestEnabled": true, @@ -26,7 +42,5 @@ "python.linting.flake8Enabled": true, "python.linting.mypyEnabled": true, "python.formatting.provider": "autopep8", - "typescript.format.semicolons": "remove", - "typescript.preferences.quoteStyle": "single", - "autoDocstring.docstringFormat": "sphinx" + "autoDocstring.docstringFormat": "sphinx", } From c192698c6b326c75a1c7bba94ee3905c2bafab75 Mon Sep 17 00:00:00 2001 From: Abhinav Singh Date: Sat, 20 Nov 2021 03:52:29 +0530 Subject: [PATCH 02/11] give space between version and to --- .github/workflows/test-library.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-library.yml b/.github/workflows/test-library.yml index 7776a5a4ef..6462dec5fe 100644 --- a/.github/workflows/test-library.yml +++ b/.github/workflows/test-library.yml @@ -737,7 +737,7 @@ jobs: name: python-package-distributions path: dist/ - name: >- - Publish ๐Ÿ๐Ÿ“ฆ v${{ needs.pre-setup.outputs.git-tag }}to TestPyPI + Publish ๐Ÿ๐Ÿ“ฆ v${{ needs.pre-setup.outputs.git-tag }} to TestPyPI uses: pypa/gh-action-pypi-publish@release/v1 with: password: ${{ secrets.TESTPYPI_API_TOKEN }} From 98a9de790db72f7ab0554170c54ef43ee25ed889 Mon Sep 17 00:00:00 2001 From: Abhinav Singh Date: Sat, 20 Nov 2021 04:05:45 +0530 Subject: [PATCH 03/11] Move all other workflow under `other-checks` guard --- .github/workflows/test-library.yml | 27 ++++++++++++++------------- .vscode/settings.json | 4 ++-- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/.github/workflows/test-library.yml b/.github/workflows/test-library.yml index 6462dec5fe..e807f3ed44 100644 --- a/.github/workflows/test-library.yml +++ b/.github/workflows/test-library.yml @@ -7,16 +7,6 @@ on: # yamllint disable-line rule:truthy - master - develop pull_request: - paths: - - 'proxy/**' - - 'tests/**' - - 'examples/**' - - 'requirements*' - - 'setup.cfg' - - 'check.py' - - 'MANIFEST.in' - - '.github/workflows/test-library.yml' - - '.*' workflow_dispatch: inputs: release-version: @@ -670,17 +660,28 @@ jobs: check: # This job does nothing and is only used for the branch protection needs: - - analyze - test - lint + + runs-on: ubuntu-latest + + steps: + - name: Report success of the test matrix + run: >- + print("All's good") + shell: python + + other-checks: # This job does nothing and is only used for the branch protection + needs: + - analyze - brew - - dashboard - docker + - dashboard runs-on: ubuntu-latest steps: - - name: Report success of the test matrix + - name: Report success of the analyze, brew, dashboard & docker matrix run: >- print("All's good") shell: python diff --git a/.vscode/settings.json b/.vscode/settings.json index 4125acfda4..ccbc392b4c 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -14,7 +14,7 @@ }, "[typescript]": { "editor.formatOnSave": true, - "editor.defaultFormatter": "rvest.vs-code-prettier-eslint", + "editor.defaultFormatter": "rvest.vs-code-prettier-eslint" }, "typescript.format.semicolons": "remove", "typescript.preferences.quoteStyle": "single", @@ -42,5 +42,5 @@ "python.linting.flake8Enabled": true, "python.linting.mypyEnabled": true, "python.formatting.provider": "autopep8", - "autoDocstring.docstringFormat": "sphinx", + "autoDocstring.docstringFormat": "sphinx" } From 8a2b19c0fb3ec89422682b20f364ae37d04b7a78 Mon Sep 17 00:00:00 2001 From: Abhinav Singh Date: Sat, 20 Nov 2021 04:19:11 +0530 Subject: [PATCH 04/11] Dont run brew/dashboard/docker until lib checks have passed --- .github/workflows/test-library.yml | 165 ++++++++++++++++------------- 1 file changed, 89 insertions(+), 76 deletions(-) diff --git a/.github/workflows/test-library.yml b/.github/workflows/test-library.yml index e807f3ed44..d8e345c72d 100644 --- a/.github/workflows/test-library.yml +++ b/.github/workflows/test-library.yml @@ -523,80 +523,6 @@ jobs: flags: pytest, GHA, Python ${{ matrix.python }}, ${{ runner.os }} verbose: true - docker: - runs-on: ${{ matrix.os }}-latest - name: ๐Ÿ${{ matrix.python }} @ ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu] - python: ['3.10'] - max-parallel: 1 - fail-fast: false - steps: - - uses: actions/checkout@v2 - - name: Setup Python - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - pip install -r requirements-release.txt - pip install -r requirements-testing.txt - pip install -r requirements-tunnel.txt - - name: Build - run: | - make container - - brew: - runs-on: ${{ matrix.os }}-latest - name: ๐Ÿ${{ matrix.python }} @ ${{ matrix.os }} - strategy: - matrix: - os: [macOS] - python: ['3.10'] - max-parallel: 1 - fail-fast: false - steps: - - uses: actions/checkout@v2 - - name: Setup Python - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python }} - - name: Brew - run: | - brew install ./helper/homebrew/develop/proxy.rb - - name: Verify - run: | - proxy -h - - dashboard: - runs-on: ${{ matrix.os }}-latest - name: Node ${{ matrix.node }} @ ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu, windows, macOS] - node: ['10.x', '11.x', '12.x'] - max-parallel: 4 - fail-fast: false - steps: - - uses: actions/checkout@v2 - - name: Setup Node - uses: actions/setup-node@v2 - with: - node-version: ${{ matrix.node }} - - name: Install Dependencies - run: | - cd dashboard - npm install - cd .. - - name: Build Dashboard - run: | - cd dashboard - npm run build - cd .. - analyze: name: Analyze runs-on: ubuntu-latest @@ -660,6 +586,7 @@ jobs: check: # This job does nothing and is only used for the branch protection needs: + - analyze - test - lint @@ -671,9 +598,95 @@ jobs: print("All's good") shell: python - other-checks: # This job does nothing and is only used for the branch protection + brew: + # Wait for lib checks to pass before installing via brew + needs: + - check + runs-on: ${{ matrix.os }}-latest + name: ๐Ÿ${{ matrix.python }} @ ${{ matrix.os }} + strategy: + matrix: + os: [macOS] + python: ['3.10'] + max-parallel: 1 + fail-fast: false + steps: + - uses: actions/checkout@v2 + - name: Setup Python + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python }} + - name: Brew + run: | + brew install ./helper/homebrew/develop/proxy.rb + - name: Verify + run: | + proxy -h + + dashboard: + # Dashboard plugin depends upon library, wait for lib check to pass + needs: + - check + runs-on: ${{ matrix.os }}-latest + name: Node ${{ matrix.node }} @ ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu, windows, macOS] + node: ['10.x', '11.x', '12.x'] + max-parallel: 4 + fail-fast: false + steps: + - uses: actions/checkout@v2 + - name: Setup Node + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node }} + - name: Install Dependencies + run: | + cd dashboard + npm install + cd .. + - name: Build Dashboard + run: | + cd dashboard + npm run build + cd .. + + docker: + # To build our docker container, we must wait for check, + # so that we can use the same distribution available. + # + # TL;DR -- Docker must be packaged with package from + # test.pypi.org or from pypi.org. + needs: + - check + runs-on: ${{ matrix.os }}-latest + name: ๐Ÿ${{ matrix.python }} @ ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu] + python: ['3.10'] + max-parallel: 1 + fail-fast: false + steps: + - uses: actions/checkout@v2 + - name: Setup Python + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.python }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + pip install -r requirements-release.txt + pip install -r requirements-testing.txt + pip install -r requirements-tunnel.txt + - name: Build + run: | + make container + + other-checks: # This job is used for the branch protection needs: - - analyze - brew - docker - dashboard From c77887b913611a72e27e8ca7d12514cfc3ead6f1 Mon Sep 17 00:00:00 2001 From: Abhinav Singh Date: Sat, 20 Nov 2021 04:26:15 +0530 Subject: [PATCH 05/11] Additional check bridging slows it down --- .github/workflows/test-library.yml | 33 ++++++++---------------------- 1 file changed, 8 insertions(+), 25 deletions(-) diff --git a/.github/workflows/test-library.yml b/.github/workflows/test-library.yml index d8e345c72d..482e183656 100644 --- a/.github/workflows/test-library.yml +++ b/.github/workflows/test-library.yml @@ -584,24 +584,7 @@ jobs: - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v1 - check: # This job does nothing and is only used for the branch protection - needs: - - analyze - - test - - lint - - runs-on: ubuntu-latest - - steps: - - name: Report success of the test matrix - run: >- - print("All's good") - shell: python - brew: - # Wait for lib checks to pass before installing via brew - needs: - - check runs-on: ${{ matrix.os }}-latest name: ๐Ÿ${{ matrix.python }} @ ${{ matrix.os }} strategy: @@ -624,9 +607,6 @@ jobs: proxy -h dashboard: - # Dashboard plugin depends upon library, wait for lib check to pass - needs: - - check runs-on: ${{ matrix.os }}-latest name: Node ${{ matrix.node }} @ ${{ matrix.os }} strategy: @@ -658,8 +638,8 @@ jobs: # # TL;DR -- Docker must be packaged with package from # test.pypi.org or from pypi.org. - needs: - - check + # needs: + # - publish-pypi runs-on: ${{ matrix.os }}-latest name: ๐Ÿ${{ matrix.python }} @ ${{ matrix.os }} strategy: @@ -685,16 +665,19 @@ jobs: run: | make container - other-checks: # This job is used for the branch protection + check: # This job does nothing and is only used for the branch protection needs: - - brew + - analyze + - test + - lint - docker - dashboard + - brew runs-on: ubuntu-latest steps: - - name: Report success of the analyze, brew, dashboard & docker matrix + - name: Report success of the test matrix run: >- print("All's good") shell: python From b922641ee7e69018978c8f5e90f40ecb83a5679f Mon Sep 17 00:00:00 2001 From: Abhinav Singh Date: Sat, 20 Nov 2021 04:33:22 +0530 Subject: [PATCH 06/11] Name diff via emoji --- .github/workflows/test-library.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test-library.yml b/.github/workflows/test-library.yml index 482e183656..eba00c51e3 100644 --- a/.github/workflows/test-library.yml +++ b/.github/workflows/test-library.yml @@ -524,8 +524,8 @@ jobs: verbose: true analyze: - name: Analyze runs-on: ubuntu-latest + name: ๐Ÿ›ก๏ธ Analyze # schedule: # - cron: '0 14 * * 1' strategy: @@ -586,7 +586,7 @@ jobs: brew: runs-on: ${{ matrix.os }}-latest - name: ๐Ÿ${{ matrix.python }} @ ${{ matrix.os }} + name: ๐Ÿบ ๐Ÿ${{ matrix.python }} @ ${{ matrix.os }} strategy: matrix: os: [macOS] @@ -608,7 +608,7 @@ jobs: dashboard: runs-on: ${{ matrix.os }}-latest - name: Node ${{ matrix.node }} @ ${{ matrix.os }} + name: ๐Ÿ“Š Node ${{ matrix.node }} @ ${{ matrix.os }} strategy: matrix: os: [ubuntu, windows, macOS] @@ -641,7 +641,7 @@ jobs: # needs: # - publish-pypi runs-on: ${{ matrix.os }}-latest - name: ๐Ÿ${{ matrix.python }} @ ${{ matrix.os }} + name: ๐Ÿšข ๐Ÿ${{ matrix.python }} @ ${{ matrix.os }} strategy: matrix: os: [ubuntu] @@ -710,7 +710,6 @@ jobs: with: password: ${{ secrets.PYPI_TOKEN }} - publish-testpypi: name: Publish ๐Ÿ๐Ÿ“ฆ to TestPyPI needs: @@ -740,7 +739,6 @@ jobs: password: ${{ secrets.TESTPYPI_API_TOKEN }} repository_url: https://test.pypi.org/legacy/ - post-release-repo-update: name: >- Publish post-release Git tag From ec543353a3f372bbcdc586bfd6085ac947b71db7 Mon Sep 17 00:00:00 2001 From: Abhinav Singh Date: Sat, 20 Nov 2021 04:40:54 +0530 Subject: [PATCH 07/11] More emojis --- .github/workflows/test-library.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-library.yml b/.github/workflows/test-library.yml index eba00c51e3..18b163f384 100644 --- a/.github/workflows/test-library.yml +++ b/.github/workflows/test-library.yml @@ -43,7 +43,7 @@ concurrency: jobs: pre-setup: - name: Pre-set global build settings + name: โš™๏ธ Pre-set global build settings runs-on: ubuntu-latest defaults: run: @@ -196,7 +196,7 @@ jobs: }}-py3-none-any.whl') build: - name: build dists ${{ needs.pre-setup.outputs.git-tag }} + name: ๐Ÿ‘ท dists ${{ needs.pre-setup.outputs.git-tag }} needs: - pre-setup # transitive, for accessing settings @@ -310,7 +310,7 @@ jobs: retention-days: 30 # Defaults to 90 lint: - name: ${{ matrix.toxenv }} + name: ๐Ÿงน ${{ matrix.toxenv }} needs: - build - pre-setup # transitive, for accessing settings @@ -410,7 +410,7 @@ jobs: --skip-pkg-install test: - name: ๐Ÿ${{ matrix.python }} @ ${{ matrix.os }} + name: ๐Ÿงช ๐Ÿ${{ matrix.python }} @ ${{ matrix.os }} needs: - build - pre-setup # transitive, for accessing settings From 6ebdc440e993e007a337b7631ef9978b9721072d Mon Sep 17 00:00:00 2001 From: Abhinav Singh Date: Sat, 20 Nov 2021 04:43:02 +0530 Subject: [PATCH 08/11] =?UTF-8?q?=F0=9F=90=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test-library.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-library.yml b/.github/workflows/test-library.yml index 18b163f384..e156578d1c 100644 --- a/.github/workflows/test-library.yml +++ b/.github/workflows/test-library.yml @@ -641,7 +641,7 @@ jobs: # needs: # - publish-pypi runs-on: ${{ matrix.os }}-latest - name: ๐Ÿšข ๐Ÿ${{ matrix.python }} @ ${{ matrix.os }} + name: ๐Ÿณ ๐Ÿ${{ matrix.python }} @ ${{ matrix.os }} strategy: matrix: os: [ubuntu] From 95aca936c0a4667ba9ebf219fae7bed5aed94319 Mon Sep 17 00:00:00 2001 From: Abhinav Singh Date: Sat, 20 Nov 2021 04:46:38 +0530 Subject: [PATCH 09/11] Per GitHub it will try to maximize, lets fallback to GHA behavior --- .github/workflows/test-library.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-library.yml b/.github/workflows/test-library.yml index e156578d1c..f9d487f84a 100644 --- a/.github/workflows/test-library.yml +++ b/.github/workflows/test-library.yml @@ -432,7 +432,7 @@ jobs: - 3.9 - 3.8 - 3.7 - max-parallel: 4 + # max-parallel: 4 continue-on-error: >- ${{ @@ -591,7 +591,7 @@ jobs: matrix: os: [macOS] python: ['3.10'] - max-parallel: 1 + # max-parallel: 1 fail-fast: false steps: - uses: actions/checkout@v2 From a49ebf058afc7cb23448e806ffa0a29493f02cd4 Mon Sep 17 00:00:00 2001 From: Abhinav Singh Date: Sat, 20 Nov 2021 04:48:29 +0530 Subject: [PATCH 10/11] False position (not indented) --- .github/workflows/test-library.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-library.yml b/.github/workflows/test-library.yml index f9d487f84a..181a4adcb9 100644 --- a/.github/workflows/test-library.yml +++ b/.github/workflows/test-library.yml @@ -418,6 +418,7 @@ jobs: runs-on: ${{ matrix.os }}-latest strategy: fail-fast: false + # max-parallel: 4 matrix: os: - macOS @@ -432,7 +433,6 @@ jobs: - 3.9 - 3.8 - 3.7 - # max-parallel: 4 continue-on-error: >- ${{ From 03ddb7ab1d5254983239352fcec4b59020d59aba Mon Sep 17 00:00:00 2001 From: Abhinav Singh Date: Sat, 20 Nov 2021 04:49:13 +0530 Subject: [PATCH 11/11] Remove tagline from readme, its in hero image now --- README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.md b/README.md index 59d68392ca..c9bd90ce60 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,5 @@ [![Proxy.Py](https://raw.githubusercontent.com/abhinavsingh/proxy.py/develop/ProxyPy.png)](https://github.com/abhinavsingh/proxy.py) -

-โšก Fast โ€ข ๐Ÿชถ Lightweight โ€ข 0๏ธโƒฃ Dependency โ€ข ๐Ÿ”Œ Pluggable โ€ข ๐Ÿ˜ˆ TLS interception โ€ข ๐Ÿ”’ DNS-over-HTTPS โ€ข ๐Ÿ”ฅ Poor Man's VPN โ€ข โช Reverse & โฉ Forward โ€ข ๐Ÿ‘ฎ๐Ÿฟ "Proxy Server" framework โ€ข ๐ŸŒ "Web Server" framework โ€ข โžต โžถ โžท โž  "PubSub" framework โ€ข ๐Ÿ‘ท "Work" acceptor & executor framework -

- [//]: # (DO-NOT-REMOVE-docs-badges-START) [![PyPi Monthly](https://img.shields.io/pypi/dm/proxy.py?style=for-the-badge&color=darkgreen)](https://pypi.org/project/proxy.py/)