Compare commits
3 Commits
244eb2dfea
...
d52b064935
Author | SHA1 | Date |
---|---|---|
dependabot[bot] | d52b064935 | |
Abhinav Singh | 8e25cd7070 | |
Abhinav Singh | f3827fdc58 |
2
.flake8
2
.flake8
|
@ -31,6 +31,8 @@ extend-ignore =
|
||||||
I # flake8-isort is drunk + we have isort integrated into pre-commit
|
I # flake8-isort is drunk + we have isort integrated into pre-commit
|
||||||
B009 # FIXME: `getattr()` called with a constant arg
|
B009 # FIXME: `getattr()` called with a constant arg
|
||||||
B024 # FIXME: is an abstract base class, but it has no abstract methods
|
B024 # FIXME: is an abstract base class, but it has no abstract methods
|
||||||
|
B027 # Is an empty method in an abstract base class, but has no abstract decorator.
|
||||||
|
# Consider adding @abstractmethod.
|
||||||
C812 # FIXME: missing trailing comma
|
C812 # FIXME: missing trailing comma
|
||||||
C819 # FIXME: inline trailing comma
|
C819 # FIXME: inline trailing comma
|
||||||
D101
|
D101
|
||||||
|
|
|
@ -46,7 +46,7 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
pre-setup:
|
pre-setup:
|
||||||
name: ⚙️ Pre-set global build settings
|
name: ⚙️ Pre-set global build settings
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: python
|
shell: python
|
||||||
|
@ -135,7 +135,7 @@ jobs:
|
||||||
- name: Set up pip cache
|
- name: Set up pip cache
|
||||||
if: >-
|
if: >-
|
||||||
steps.request-check.outputs.release-requested != 'true'
|
steps.request-check.outputs.release-requested != 'true'
|
||||||
uses: actions/cache@v3.0.8
|
uses: actions/cache@v3.0.11
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.pip-cache-dir.outputs.dir }}
|
path: ${{ steps.pip-cache-dir.outputs.dir }}
|
||||||
key: >-
|
key: >-
|
||||||
|
@ -216,7 +216,7 @@ jobs:
|
||||||
needs:
|
needs:
|
||||||
- pre-setup # transitive, for accessing settings
|
- pre-setup # transitive, for accessing settings
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PY_COLORS: 1
|
PY_COLORS: 1
|
||||||
|
@ -244,7 +244,7 @@ jobs:
|
||||||
run: >-
|
run: >-
|
||||||
echo "::set-output name=dir::$(pip cache dir)"
|
echo "::set-output name=dir::$(pip cache dir)"
|
||||||
- name: Set up pip cache
|
- name: Set up pip cache
|
||||||
uses: actions/cache@v3.0.8
|
uses: actions/cache@v3.0.11
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.pip-cache.outputs.dir }}
|
path: ${{ steps.pip-cache.outputs.dir }}
|
||||||
key: >-
|
key: >-
|
||||||
|
@ -263,7 +263,7 @@ jobs:
|
||||||
python -m
|
python -m
|
||||||
pip install
|
pip install
|
||||||
--user
|
--user
|
||||||
tox
|
tox==3.25.1
|
||||||
|
|
||||||
- name: Grab the source from Git
|
- name: Grab the source from Git
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
@ -331,7 +331,7 @@ jobs:
|
||||||
- build
|
- build
|
||||||
- pre-setup # transitive, for accessing settings
|
- pre-setup # transitive, for accessing settings
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
toxenv:
|
toxenv:
|
||||||
|
@ -369,7 +369,7 @@ jobs:
|
||||||
run: >-
|
run: >-
|
||||||
echo "::set-output name=dir::$(pip cache dir)"
|
echo "::set-output name=dir::$(pip cache dir)"
|
||||||
- name: Set up pip cache
|
- name: Set up pip cache
|
||||||
uses: actions/cache@v3.0.8
|
uses: actions/cache@v3.0.11
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.pip-cache.outputs.dir }}
|
path: ${{ steps.pip-cache.outputs.dir }}
|
||||||
key: >-
|
key: >-
|
||||||
|
@ -388,7 +388,7 @@ jobs:
|
||||||
python -m
|
python -m
|
||||||
pip install
|
pip install
|
||||||
--user
|
--user
|
||||||
tox
|
tox==3.25.1
|
||||||
|
|
||||||
- name: Grab the source from Git
|
- name: Grab the source from Git
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
@ -433,15 +433,15 @@ jobs:
|
||||||
- build
|
- build
|
||||||
- pre-setup # transitive, for accessing settings
|
- pre-setup # transitive, for accessing settings
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}-latest
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
# max-parallel: 4
|
# max-parallel: 4
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os:
|
||||||
- macOS
|
- macOS-latest
|
||||||
- Ubuntu
|
- Ubuntu-20.04
|
||||||
- Windows
|
- Windows-latest
|
||||||
python:
|
python:
|
||||||
# NOTE: The latest and the lowest supported Pythons are prioritized
|
# NOTE: The latest and the lowest supported Pythons are prioritized
|
||||||
# NOTE: to improve the responsiveness. It's nice to see the most
|
# NOTE: to improve the responsiveness. It's nice to see the most
|
||||||
|
@ -486,7 +486,7 @@ jobs:
|
||||||
run: >-
|
run: >-
|
||||||
echo "::set-output name=dir::$(pip cache dir)"
|
echo "::set-output name=dir::$(pip cache dir)"
|
||||||
- name: Set up pip cache
|
- name: Set up pip cache
|
||||||
uses: actions/cache@v3.0.8
|
uses: actions/cache@v3.0.11
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.pip-cache.outputs.dir }}
|
path: ${{ steps.pip-cache.outputs.dir }}
|
||||||
key: >-
|
key: >-
|
||||||
|
@ -505,7 +505,7 @@ jobs:
|
||||||
python -m
|
python -m
|
||||||
pip install
|
pip install
|
||||||
--user
|
--user
|
||||||
tox
|
tox==3.25.1
|
||||||
|
|
||||||
- name: Grab the source from Git
|
- name: Grab the source from Git
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
@ -543,7 +543,7 @@ jobs:
|
||||||
verbose: true
|
verbose: true
|
||||||
|
|
||||||
test-container:
|
test-container:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
permissions:
|
permissions:
|
||||||
packages: write
|
packages: write
|
||||||
if: success()
|
if: success()
|
||||||
|
@ -603,7 +603,7 @@ jobs:
|
||||||
./tests/integration/test_integration.sh 8899
|
./tests/integration/test_integration.sh 8899
|
||||||
|
|
||||||
analyze:
|
analyze:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
name: 🛡️ Analyze
|
name: 🛡️ Analyze
|
||||||
# schedule:
|
# schedule:
|
||||||
# - cron: '0 14 * * 1'
|
# - cron: '0 14 * * 1'
|
||||||
|
@ -659,11 +659,11 @@ jobs:
|
||||||
uses: github/codeql-action/analyze@v2
|
uses: github/codeql-action/analyze@v2
|
||||||
|
|
||||||
# brew:
|
# brew:
|
||||||
# runs-on: ${{ matrix.os }}-latest
|
# runs-on: ${{ matrix.os }}
|
||||||
# name: 🍺 🐍${{ matrix.python }} @ ${{ matrix.os }}
|
# name: 🍺 🐍${{ matrix.python }} @ ${{ matrix.os }}
|
||||||
# strategy:
|
# strategy:
|
||||||
# matrix:
|
# matrix:
|
||||||
# os: [macOS]
|
# os: [macOS-latest]
|
||||||
# python: ['3.10']
|
# python: ['3.10']
|
||||||
# # max-parallel: 1
|
# # max-parallel: 1
|
||||||
# fail-fast: false
|
# fail-fast: false
|
||||||
|
@ -681,11 +681,11 @@ jobs:
|
||||||
# proxy -h
|
# proxy -h
|
||||||
|
|
||||||
dashboard:
|
dashboard:
|
||||||
runs-on: ${{ matrix.os }}-latest
|
runs-on: ${{ matrix.os }}
|
||||||
name: 📊 Node ${{ matrix.node }} @ ${{ matrix.os }}
|
name: 📊 Node ${{ matrix.node }} @ ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu, windows, macOS]
|
os: [ubuntu-20.04, windows-latest, macOS-latest]
|
||||||
node: ['10.x', '11.x', '12.x']
|
node: ['10.x', '11.x', '12.x']
|
||||||
# max-parallel: 4
|
# max-parallel: 4
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
@ -712,11 +712,11 @@ jobs:
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
developer:
|
developer:
|
||||||
runs-on: ${{ matrix.os }}-latest
|
runs-on: ${{ matrix.os }}
|
||||||
name: 🧑💻 👩💻 👨💻 Developer setup ${{ matrix.node }} @ ${{ matrix.os }}
|
name: 🧑💻 👩💻 👨💻 Developer setup ${{ matrix.node }} @ ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu, macOS]
|
os: [ubuntu-20.04, macOS-latest]
|
||||||
python: ['3.10']
|
python: ['3.10']
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
|
@ -740,7 +740,7 @@ jobs:
|
||||||
python3 -m proxy --version
|
python3 -m proxy --version
|
||||||
|
|
||||||
ghcr-latest:
|
ghcr-latest:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
permissions:
|
permissions:
|
||||||
packages: write
|
packages: write
|
||||||
if: success()
|
if: success()
|
||||||
|
@ -822,7 +822,7 @@ jobs:
|
||||||
-t $LATEST_TAG .
|
-t $LATEST_TAG .
|
||||||
|
|
||||||
ghcr-openssl:
|
ghcr-openssl:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
permissions:
|
permissions:
|
||||||
packages: write
|
packages: write
|
||||||
if: success()
|
if: success()
|
||||||
|
@ -902,7 +902,7 @@ jobs:
|
||||||
-t $LATEST_TAG .
|
-t $LATEST_TAG .
|
||||||
|
|
||||||
docker-latest:
|
docker-latest:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
permissions:
|
permissions:
|
||||||
packages: write
|
packages: write
|
||||||
if: success()
|
if: success()
|
||||||
|
@ -975,7 +975,7 @@ jobs:
|
||||||
- ghcr-openssl
|
- ghcr-openssl
|
||||||
- docker-latest
|
- docker-latest
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Decide whether the needed jobs succeeded or failed
|
- name: Decide whether the needed jobs succeeded or failed
|
||||||
|
@ -990,7 +990,7 @@ jobs:
|
||||||
- pre-setup # transitive, for accessing settings
|
- pre-setup # transitive, for accessing settings
|
||||||
if: >-
|
if: >-
|
||||||
fromJSON(needs.pre-setup.outputs.release-requested)
|
fromJSON(needs.pre-setup.outputs.release-requested)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
name: release
|
name: release
|
||||||
|
@ -1019,7 +1019,7 @@ jobs:
|
||||||
if: >-
|
if: >-
|
||||||
fromJSON(needs.pre-setup.outputs.is-untagged-devel)
|
fromJSON(needs.pre-setup.outputs.is-untagged-devel)
|
||||||
|| fromJSON(needs.pre-setup.outputs.release-requested)
|
|| fromJSON(needs.pre-setup.outputs.release-requested)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
name: release-testpypi
|
name: release-testpypi
|
||||||
|
@ -1048,7 +1048,7 @@ jobs:
|
||||||
needs:
|
needs:
|
||||||
- publish-pypi
|
- publish-pypi
|
||||||
- pre-setup # transitive, for accessing settings
|
- pre-setup # transitive, for accessing settings
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Fetch the src snapshot
|
- name: Fetch the src snapshot
|
||||||
|
@ -1081,7 +1081,7 @@ jobs:
|
||||||
needs:
|
needs:
|
||||||
- post-release-repo-update
|
- post-release-repo-update
|
||||||
- pre-setup # transitive, for accessing settings
|
- pre-setup # transitive, for accessing settings
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
Loading…
Reference in New Issue