Skip to content

Raise TypeError for unexpected node/tag types and clean up style #9210

Raise TypeError for unexpected node/tag types and clean up style

Raise TypeError for unexpected node/tag types and clean up style #9210

Workflow file for this run

name: 'CI'
permissions:
contents: 'read'
checks: 'write'
on:
push:
branches:
- 'master'
jobs:
CI:
runs-on: 'ubuntu-24.04'
timeout-minutes: 60
concurrency:
group: '${{ github.workflow }}-${{ github.ref }}'
cancel-in-progress: true
steps:
- name: 'Checkout repository'
uses: 'actions/checkout@v4.2.2'
# - uses: 'mxschmitt/action-tmate@v3.19'
- name: 'Export CI vars'
uses: 'actions/github-script@v7'
env:
export-vars: >
ACTIONS_RESULTS_URL
ACTIONS_RUNTIME_TOKEN
github-token: '${{ secrets.GITHUB_TOKEN }}'
with:
script: |
process.env['export-vars'].trim().split(/\s+/).forEach((k) => core.exportVariable(k, process.env[k]))
- name: 'Setup CI'
run: >
make ci-setup
- name: 'Run CI'
run: >
CI_RUN_OPTS='-v ${{ github.workspace }}:/github/workspace -e PYTEST_JUNIT_XML_PATH'
PYTEST_JUNIT_XML_PATH=/github/workspace/test-results.xml
make ci
- name: 'Report JUnit results'
uses: 'mikepenz/action-junit-report@v5.2.0'
if: 'always()'
with:
report_paths: '${{ github.workspace }}/test-results.xml'
include_passed: true