chore: release 3.1.5 #44
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
| name: CI | |
| on: | |
| push: | |
| branches: | |
| - dev | |
| - master | |
| pull_request: | |
| branches: | |
| - dev | |
| - master | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: Test, audit, and package | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7 | |
| - name: Checkout pinned PyDYNA schema source | |
| uses: actions/checkout@v7 | |
| with: | |
| repository: ansys/pydyna | |
| ref: 367fea6c13ca7c8d2e28bd290d943395d84e77a3 | |
| path: pydyna | |
| persist-credentials: false | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - name: Install keyword schema test dependencies | |
| run: python -m pip install -r keywords/requirements-codegen.txt | |
| - name: Install locked dependencies | |
| run: npm ci | |
| - name: Validate project contracts | |
| run: npm run check:contracts | |
| - name: Run tests | |
| run: npm test | |
| - name: Run Webview tests | |
| run: npm run test:webview | |
| - name: Run keyword schema tests | |
| run: python -m unittest discover -s keywords/tests -p "test_*.py" -v | |
| - name: Validate final Chinese field data | |
| run: python keywords/validate_field_data_translation.py --check-content | |
| - name: Audit final Chinese field data quality | |
| run: python keywords/audit_field_data_quality.py | |
| - name: Audit production dependencies | |
| run: npm audit --omit=dev | |
| - name: Verify extension packaging | |
| run: | | |
| mkdir -p dist | |
| npm run check:package-contents | |
| npx --no-install vsce package --out dist/ci-dry-run.vsix |