disable post-training, fix artifact name

This commit is contained in:
Ashwin Bharambe 2025-07-31 14:59:44 -07:00
parent 0e98f999d0
commit ea527c5e06
2 changed files with 11 additions and 2 deletions

View file

@ -188,11 +188,19 @@ runs:
run: |
sudo docker logs ollama > ollama-${{ inputs.inference-mode }}.log || true
- name: Set artifact name
shell: bash
run: |
# Replace colons with dashes in stack-config for artifact naming
suffix="${{ inputs.stack-config }}"
suffix="${suffix//:/-}"
echo "ARTIFACT_NAME_SUFFIX=$suffix" >> $GITHUB_ENV
- name: Upload logs
if: ${{ always() }}
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: ${{ inputs.inference-mode }}-logs-${{ github.run_id }}-${{ github.run_attempt || '' }}-${{ inputs.provider }}-${{ inputs.run-vision-tests }}-${{ inputs.stack-config }}
name: logs-${{ github.run_id }}-${{ github.run_attempt || '' }}-${{ inputs.provider }}-${{ inputs.run-vision-tests }}-${{ env.ARTIFACT_NAME_SUFFIX }}
path: |
*.log
retention-days: 1

View file

@ -51,8 +51,9 @@ jobs:
id: generate-test-types
run: |
# Get test directories dynamically, excluding non-test directories
# NOTE: we are excluding post_training since the tests take too long
TEST_TYPES=$(find tests/integration -maxdepth 1 -mindepth 1 -type d -printf "%f\n" |
grep -Ev "^(__pycache__|fixtures|test_cases|recordings)$" |
grep -Ev "^(__pycache__|fixtures|test_cases|recordings|post_training)$" |
sort | jq -R -s -c 'split("\n")[:-1]')
echo "test-types=$TEST_TYPES" >> $GITHUB_OUTPUT