Skip to content

ci: Update CI #370

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Nov 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci_decrypt-oracle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/setup-python@v2
with:
# The oracle runs in a Python 3.6 Lamba
python-version: 3.6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_static-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- isort-check
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/setup-python@v2
with:
python-version: 3.8
- run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_test-vector-handler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
aws-secret-access-key: ${{ secrets.INTEG_AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-2
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
architecture: ${{ matrix.architecture }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
architecture: x86
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
- uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
architecture: ${{ matrix.architecture }}
Expand Down
4 changes: 2 additions & 2 deletions codebuild/py35/awses_local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ phases:
python: latest
build:
commands:
- pyenv install 3.5.9
- pyenv local 3.5.9
- pyenv install 3.5.10
- pyenv local 3.5.10
- pip install tox tox-pyenv
- cd test_vector_handlers
- tox
4 changes: 2 additions & 2 deletions codebuild/py35/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ phases:
python: latest
build:
commands:
- pyenv install 3.5.9
- pyenv local 3.5.9
- pyenv install 3.5.10
- pyenv local 3.5.10
- pip install tox tox-pyenv
- tox
4 changes: 2 additions & 2 deletions codebuild/py35/integ.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ phases:
python: latest
build:
commands:
- pyenv install 3.5.9
- pyenv local 3.5.9
- pyenv install 3.5.10
- pyenv local 3.5.10
- pip install tox tox-pyenv
- tox
4 changes: 3 additions & 1 deletion codebuild/py36/awses_local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ phases:
python: latest
build:
commands:
- pip install tox
- pyenv install 3.6.15
- pyenv local 3.6.15
- pip install tox tox-pyenv
- cd test_vector_handlers
- tox
4 changes: 3 additions & 1 deletion codebuild/py36/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ phases:
python: latest
build:
commands:
- pip install tox
- pyenv install 3.6.15
- pyenv local 3.6.15
- pip install tox tox-pyenv
- tox
4 changes: 3 additions & 1 deletion codebuild/py36/integ.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ phases:
python: latest
build:
commands:
- pip install tox
- pyenv install 3.6.15
- pyenv local 3.6.15
- pip install tox tox-pyenv
- tox
4 changes: 2 additions & 2 deletions codebuild/py37/awses_local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ phases:
python: latest
build:
commands:
- pyenv install 3.7.9
- pyenv local 3.7.9
- pyenv install 3.7.12
- pyenv local 3.7.12
- pip install tox tox-pyenv
- cd test_vector_handlers
- tox
4 changes: 2 additions & 2 deletions codebuild/py37/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ phases:
python: latest
build:
commands:
- pyenv install 3.7.9
- pyenv local 3.7.9
- pyenv install 3.7.12
- pyenv local 3.7.12
- pip install tox tox-pyenv
- tox
4 changes: 2 additions & 2 deletions codebuild/py37/integ.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ phases:
python: latest
build:
commands:
- pyenv install 3.7.9
- pyenv local 3.7.9
- pyenv install 3.7.12
- pyenv local 3.7.12
- pip install tox tox-pyenv
- tox
4 changes: 2 additions & 2 deletions codebuild/py38/awses_local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ phases:
python: latest
build:
commands:
- pyenv install 3.8.6
- pyenv local 3.8.6
- pyenv install 3.8.12
- pyenv local 3.8.12
- pip install tox tox-pyenv
- cd test_vector_handlers
- tox
4 changes: 2 additions & 2 deletions codebuild/py38/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ phases:
python: latest
build:
commands:
- pyenv install 3.8.6
- pyenv local 3.8.6
- pyenv install 3.8.12
- pyenv local 3.8.12
- pip install tox tox-pyenv
- tox
4 changes: 2 additions & 2 deletions codebuild/py38/integ.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ phases:
python: latest
build:
commands:
- pyenv install 3.8.6
- pyenv local 3.8.6
- pyenv install 3.8.12
- pyenv local 3.8.12
- pip install tox tox-pyenv
- tox
4 changes: 2 additions & 2 deletions codebuild/py39/awses_1.7.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ phases:
python: latest
build:
commands:
- pyenv install 3.9.0
- pyenv local 3.9.0
- pyenv install 3.9.7
- pyenv local 3.9.7
- pip install tox tox-pyenv
- cd test_vector_handlers
- tox
4 changes: 2 additions & 2 deletions codebuild/py39/awses_2.0.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ phases:
python: latest
build:
commands:
- pyenv install 3.9.0
- pyenv local 3.9.0
- pyenv install 3.9.7
- pyenv local 3.9.7
- pip install tox tox-pyenv
- cd test_vector_handlers
- tox
4 changes: 2 additions & 2 deletions codebuild/py39/awses_latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ phases:
python: latest
build:
commands:
- pyenv install 3.9.0
- pyenv local 3.9.0
- pyenv install 3.9.7
- pyenv local 3.9.7
- pip install tox tox-pyenv
- cd test_vector_handlers
- tox
4 changes: 2 additions & 2 deletions codebuild/py39/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ phases:
python: latest
build:
commands:
- pyenv install 3.9.0
- pyenv local 3.9.0
- pyenv install 3.9.7
- pyenv local 3.9.7
- pip install tox tox-pyenv
- tox
4 changes: 2 additions & 2 deletions codebuild/py39/integ.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ phases:
python: latest
build:
commands:
- pyenv install 3.9.0
- pyenv local 3.9.0
- pyenv install 3.9.7
- pyenv local 3.9.7
- pip install tox tox-pyenv
- tox
1 change: 1 addition & 0 deletions decrypt_oracle/src/pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
disable =
bad-continuation, # we let black handle this
ungrouped-imports, # we let isort handle this
consider-using-f-string # disable until 2022-05-05; 6 months after 3.5 deprecation

[FORMAT]
max-line-length = 120
Expand Down
1 change: 1 addition & 0 deletions decrypt_oracle/test/pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ disable =
missing-docstring, # we don't write docstrings for tests
bad-continuation, # we let black handle this
ungrouped-imports, # we let isort handle this
consider-using-f-string # disable until 2022-05-05; 6 months after 3.5 deprecation

[FORMAT]
max-line-length = 120
Expand Down
1 change: 1 addition & 0 deletions examples/src/pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ disable =
attribute-defined-outside-init, # breaks with attrs_post_init
abstract-method, # throws false positives on io.BaseIO grandchildren
redefined-outer-name, # we do this on purpose in multiple places
consider-using-f-string # disable until 2022-05-05; 6 months after 3.5 deprecation

[BASIC]
# Allow function names up to 50 characters
Expand Down
1 change: 1 addition & 0 deletions examples/test/pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ disable =
# unknown modules as non-standard-library. flake8 tests for this as well
# and does treat them properly
duplicate-code, # tests for similar things tend to be similar
consider-using-f-string # disable until 2022-05-05; 6 months after 3.5 deprecation

[VARIABLES]
additional-builtins = raw_input
Expand Down
1 change: 1 addition & 0 deletions src/pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ disable =
useless-object-inheritance,
raise-missing-from,
super-with-arguments,
consider-using-f-string # disable until 2022-05-05; 6 months after 3.5 deprecation

[BASIC]
# Allow function names up to 50 characters
Expand Down
1 change: 1 addition & 0 deletions test/pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ disable =
useless-object-inheritance,
raise-missing-from,
super-with-arguments,
consider-using-f-string # disable until 2022-05-05; 6 months after 3.5 deprecation

[VARIABLES]
additional-builtins = raw_input
Expand Down
1 change: 1 addition & 0 deletions test_vector_handlers/src/pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ disable =
useless-object-inheritance,
raise-missing-from,
super-with-arguments,
consider-using-f-string # disable until 2022-05-05; 6 months after 3.5 deprecation

[FORMAT]
max-line-length = 120
Expand Down
1 change: 1 addition & 0 deletions test_vector_handlers/test/pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ disable =
useless-object-inheritance,
raise-missing-from,
super-with-arguments,
consider-using-f-string # disable until 2022-05-05; 6 months after 3.5 deprecation

[FORMAT]
max-line-length = 120
Expand Down