Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6.3.0 to 7.0.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/ece7cb06caefa5fff74198d8649806c4678c61a1...5fda3b95a4ea91299a34e894583c3862153e4b97) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
68 lines
2.0 KiB
YAML
68 lines
2.0 KiB
YAML
name: compat-smoke
|
|
|
|
on:
|
|
push:
|
|
branches: [ main, master ]
|
|
pull_request:
|
|
branches: [ main, master ]
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
smoke:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.10", "3.11", "3.12", "3.14"]
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- name: Install deps
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
python -m pip install -r requirements.txt pytest pytest-asyncio aiohttp
|
|
- name: Compile smoke
|
|
run: |
|
|
python -m compileall -q __init__.py mjr_am_backend mjr_am_shared
|
|
- name: Compat tests
|
|
run: |
|
|
python -m pytest -q tests/compat/test_import_smoke.py
|
|
|
|
smoke-windows:
|
|
runs-on: windows-latest
|
|
permissions:
|
|
contents: read
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.10", "3.12"]
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- name: Install deps
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
python -m pip install -r requirements.txt pytest pytest-asyncio aiohttp
|
|
- name: Compile smoke
|
|
run: |
|
|
python -m compileall -q __init__.py mjr_am_backend mjr_am_shared
|
|
- name: Compat tests
|
|
run: |
|
|
python -m pytest -q tests/compat/test_import_smoke.py
|
|
|
|
js-audit:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
- name: Install JS dependencies
|
|
run: npm ci --ignore-scripts
|
|
- name: Audit JS dependencies
|
|
run: npm audit --audit-level=high
|