chore(CI): migrate CB CI jobs to GHA #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This workflow runs code coverage checks. | |
| name: Code Coverage | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| # Run once a day | |
| schedule: | |
| - cron: '0 0 * * *' | |
| jobs: | |
| coverage: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.12' # Using latest Python version | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install "tox < 4.0" | |
| pip install -r dev_requirements/coverage-requirements.txt | |
| - name: Run coverage tests | |
| env: | |
| TOXENV: "coverage" | |
| AWS_ENCRYPTION_SDK_PYTHON_INTEGRATION_TEST_AWS_KMS_KEY_ID: "arn:aws:kms:us-west-2:658956600833:key/b3537ef1-d8dc-4780-9f5a-55776cbb2f7f" | |
| run: tox |