Skip to content

Linked Heat Stack and Rules Engine README.md's in main README.md (#170) #605

Linked Heat Stack and Rules Engine README.md's in main README.md (#170)

Linked Heat Stack and Rules Engine README.md's in main README.md (#170) #605

name: rules engine
on: [push, pull_request]
env:
working-directory: rules-engine
defaults:
run:
working-directory: rules-engine
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11.3"] # Check python version at https://pyodide.org/en/stable/project/changelog.html
steps:
- uses: actions/checkout@v3
- name: Set up environment
uses: "./.github/actions/setup-rules-engine"
with:
python-version: ${{ matrix.python-version }}
- name: Check style
run: |
make lint
mypy:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11.3"]
steps:
- uses: actions/checkout@v3
- name: Set up environment
uses: "./.github/actions/setup-rules-engine"
with:
python-version: ${{ matrix.python-version }}
- name: Check typing
run: |
make mypy
pytest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11.3"]
steps:
- uses: actions/checkout@v3
- name: Set up environment
uses: "./.github/actions/setup-rules-engine"
with:
python-version: ${{ matrix.python-version }}
- name: Run tests
run: |
make test
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11.3"]
steps:
- uses: actions/checkout@v3
- name: Set up environment
uses: "./.github/actions/setup-rules-engine"
with:
python-version: ${{ matrix.python-version }}
- name: Build wheel
run: |
make build