Skip to content

Commit ca0ce17

Browse files
authored
Merge pull request #123 from awslabs/feat/multi-provider-template-generation
feat: multi-provider template generation and UX improvements
2 parents 9260311 + d401bd9 commit ca0ce17

File tree

127 files changed

+12845
-3852
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+12845
-3852
lines changed

.github/workflows/advanced-metrics.yml

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,9 @@ jobs:
1818
name: Configuration
1919
uses: ./.github/workflows/shared-config.yml
2020

21-
setup-cache:
22-
name: Setup Cache
23-
needs: config
24-
uses: ./.github/workflows/cache-management.yml
25-
with:
26-
cache-type: dependencies
27-
cache-key-base: metrics-deps
28-
python-version: ${{ needs.config.outputs.default-python-version }}
29-
3021
metrics:
3122
name: Generate Advanced Metrics
32-
needs: [config, setup-cache]
23+
needs: config
3324
runs-on: ubuntu-latest
3425
permissions:
3526
contents: read
@@ -40,21 +31,20 @@ jobs:
4031
uses: actions/checkout@v6.0.2
4132

4233
- name: Setup Python and UV
43-
uses: ./.github/actions/setup-uv-cached
34+
uses: ./.github/actions/setup-uv-fresh
4435
with:
45-
cache-key: ${{ needs.setup-cache.outputs.cache-key }}
46-
fail-on-cache-miss: false
36+
python-version: ${{ needs.config.outputs.default-python-version }}
37+
cache-key-suffix: metrics
4738

48-
- name: Install dependencies
39+
- name: Install additional tools
4940
run: |
50-
python -m pip install --upgrade pip
51-
pip install coverage pytest cloc
41+
uv pip install coverage pytest cloc
5242
5343
- name: Run tests with coverage
5444
run: |
55-
coverage run -m pytest tests/ --tb=short
56-
coverage report --format=total > coverage.txt
57-
coverage xml
45+
uv run coverage run -m pytest tests/ --tb=short
46+
uv run coverage report --format=total > coverage.txt
47+
uv run coverage xml
5848
5949
- name: Calculate lines of code
6050
run: |
@@ -88,7 +78,7 @@ jobs:
8878
- name: Run performance test
8979
run: |
9080
start_time=$(date +%s.%N)
91-
python -m pytest tests/ -x --tb=no -q
81+
uv run python -m pytest tests/ -x --tb=no -q
9282
end_time=$(date +%s.%N)
9383
9484
# Calculate duration in seconds

0 commit comments

Comments
 (0)