33 lines
642 B
YAML
33 lines
642 B
YAML
name: smoke-mm
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
smoke:
|
|
name: Install & smoke test mm --help
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.11'
|
|
|
|
- name: Create venv and install
|
|
run: |
|
|
python -m venv venv
|
|
. venv/bin/activate
|
|
python -m pip install -U pip
|
|
python -m pip install -e ./scripts
|
|
|
|
- name: Run smoke test (mm --help)
|
|
run: |
|
|
. venv/bin/activate
|
|
mm --help
|