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