Skip to content

Commit

Permalink
chore: debug CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jbarreau committed Jan 6, 2025
1 parent 9862c05 commit 53ffb40
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 3 additions & 5 deletions .github/actions/coverage/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ runs:
steps:
- name: Install poetry
shell: bash
working-directory: ./src/
run: pipx install poetry
- name: Set up Python ${{ inputs.python-version }}
uses: actions/setup-python@v4
Expand All @@ -30,17 +29,16 @@ runs:
uses: actions/download-artifact@v4
with:
path: coverage
merge-multiple: true
- name: Combine reports
shell: bash
working-directory: ./src/
run: poetry -C datasource_toolkit run coverage combine ../coverage/code-coverage-report.*/.coverage
run: pwd && ls -a ./coverage/code-coverage-report.agent_toolkit.3.10/.coverage && poetry --directory=./src/datasource_toolkit run coverage combine ../../coverage/code-coverage-report.*/.coverage
- name: Send coverage
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ inputs.CC_TEST_REPORTER_ID }}
with:
workingDirectory: ./src/
coverageCommand: poetry -C datasource_toolkit run coverage xml
coverageCommand: poetry --directory=./src/datasource_toolkit run coverage xml

# debug
# - name: Archive code coverage final results
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/generic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
# TODO: restore python3.12
python-version: ['3.8', '3.9', '3.10', '3.11']
current_package: ${{ fromJson(inputs.packages) }}
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 53ffb40

Please sign in to comment.