Build JS distributables using local javascript (#1243) #557
This file contains 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: check | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
schedule: | |
- cron: "0 0 * * 0" | |
jobs: | |
test-py-cov: | |
uses: ./.github/workflows/.hatch-run.yml | |
with: | |
job-name: "python-{0}" | |
hatch-run: "test-py" | |
lint-py: | |
uses: ./.github/workflows/.hatch-run.yml | |
with: | |
job-name: "python-{0}" | |
hatch-run: "lint-py" | |
test-py-matrix: | |
uses: ./.github/workflows/.hatch-run.yml | |
with: | |
job-name: "python-{0} {1}" | |
hatch-run: "test-py --no-cov" | |
runs-on-array: '["ubuntu-latest", "macos-latest", "windows-latest"]' | |
python-version-array: '["3.9", "3.10", "3.11"]' | |
test-docs: | |
uses: ./.github/workflows/.hatch-run.yml | |
with: | |
job-name: "python-{0}" | |
hatch-run: "test-docs" | |
# as of Dec 2023 lxml does have wheels for 3.12 | |
# https://bugs.launchpad.net/lxml/+bug/2040440 | |
python-version-array: '["3.11"]' | |
test-js: | |
uses: ./.github/workflows/.hatch-run.yml | |
with: | |
job-name: "{1}" | |
hatch-run: "test-js" | |
lint-js: | |
uses: ./.github/workflows/.hatch-run.yml | |
with: | |
job-name: "{1}" | |
hatch-run: "lint-js" |