Skip to content
Draft
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
4 changes: 2 additions & 2 deletions .github/workflows/ci_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

jobs:
test:
runs-on: ubuntu-latest
runs-on: codebuild-CryptoToolsCI-linux-aws-dynamodb-encryption-python-${{ github.run_id }}-${{ github.run_attempt }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -65,22 +65,22 @@
run: tox

coverage:
runs-on: ubuntu-latest
runs-on: codebuild-CryptoToolsCI-linux-aws-dynamodb-encryption-python-${{ github.run_id }}-${{ github.run_attempt }}
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install "tox < 4.0"
pip install setuptools

- name: Run coverage
env:
TOXENV: coverage
run: tox

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
2 changes: 1 addition & 1 deletion .github/workflows/ci_static-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:

jobs:
analysis:
runs-on: ubuntu-latest
runs-on: codebuild-CryptoToolsCI-linux-aws-dynamodb-encryption-python-${{ github.run_id }}-${{ github.run_attempt }}
strategy:
fail-fast: false
matrix:
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/ci_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:

jobs:
tests:
runs-on: ${{ matrix.platform.os }}
runs-on: ${{ matrix.platform.os == 'ubuntu-latest' && format('codebuild-CryptoToolsCI-linux-aws-dynamodb-encryption-python-{0}-{1}', github.run_id, github.run_attempt) || matrix.platform.os }}
strategy:
fail-fast: true
matrix:
Expand All @@ -21,9 +21,6 @@ jobs:
architecture: x64
- os: windows-latest
architecture: x64
# x86 builds are only meaningful for Windows
- os: windows-latest
architecture: x86
- os: macos-latest
architecture: x64
python:
Expand Down Expand Up @@ -63,10 +60,12 @@ jobs:
- name: run test
env:
TOXENV: ${{ matrix.category }}
# tox reads pip's output as UTF-8; Windows writes it in the console code page otherwise.
PYTHONUTF8: "1"
run: tox -- -vv

upstream-py311:
runs-on: ubuntu-latest
runs-on: codebuild-CryptoToolsCI-linux-aws-dynamodb-encryption-python-${{ github.run_id }}-${{ github.run_attempt }}
strategy:
fail-fast: true
matrix:
Expand All @@ -85,4 +84,6 @@ jobs:
- name: run test
env:
TOXENV: ${{ matrix.category }}
# tox reads pip's output as UTF-8; Windows writes it in the console code page otherwise.
PYTHONUTF8: "1"
run: tox -- -vv
2 changes: 1 addition & 1 deletion .github/workflows/pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- call-integration-tests
- call-static-analysis
- call-tests
runs-on: ubuntu-22.04
runs-on: codebuild-CryptoToolsCI-linux-aws-dynamodb-encryption-python-${{ github.run_id }}-${{ github.run_attempt }}
steps:
- name: Verify all required jobs passed
uses: re-actors/alls-green@release/v1
Expand Down
Loading