diff --git a/.github/workflows/test-rules-engine-functional.yml b/.github/workflows/test-rules-engine-functional.yml new file mode 100644 index 00000000..e3be454e --- /dev/null +++ b/.github/workflows/test-rules-engine-functional.yml @@ -0,0 +1,30 @@ +name: Test Rules Engine (Functional) + +on: [push] + +defaults: + run: + working-directory: rules-engine + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.10"] + + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements-dev.txt + pip install -e . + - name: Run tests + run: | + pytest \ No newline at end of file diff --git a/.github/workflows/test-rules-engine.yml b/.github/workflows/test-rules-engine-style.yml similarity index 75% rename from .github/workflows/test-rules-engine.yml rename to .github/workflows/test-rules-engine-style.yml index e7602c96..062d4313 100644 --- a/.github/workflows/test-rules-engine.yml +++ b/.github/workflows/test-rules-engine-style.yml @@ -1,37 +1,31 @@ -name: Test Rules Engine - -on: [push] - -defaults: - run: - working-directory: rules-engine - -jobs: - build: - - runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.10"] - - steps: - - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements-dev.txt - pip install -e . - - name: Check style - run: | - isort --check . - black --check . - - name: Check typing - run: | - mypy . - - name: Run tests - run: | - pytest \ No newline at end of file +name: Test Rules Engine (Style) + +on: [push] + +defaults: + run: + working-directory: rules-engine + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.10"] + + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements-dev.txt + pip install -e . + - name: Check style + run: | + isort --check . + black --check . \ No newline at end of file diff --git a/.github/workflows/test-rules-engine-type.yml b/.github/workflows/test-rules-engine-type.yml new file mode 100644 index 00000000..1da86a61 --- /dev/null +++ b/.github/workflows/test-rules-engine-type.yml @@ -0,0 +1,30 @@ +name: Test Rules Engine (Type) + +on: [push] + +defaults: + run: + working-directory: rules-engine + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.10"] + + steps: + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements-dev.txt + pip install -e . + - name: Check typing + run: | + mypy . \ No newline at end of file