⚡️ v2.8.0 Add batches to verify pipes
, allow for multiple instances from WebAPI, and memory improvements.
#545
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: pytest | |
on: | |
workflow_dispatch: | |
inputs: | |
publish: | |
description: 'Run the pytest script.' | |
required: false | |
default: "" | |
push: | |
branches: [ main, staging ] | |
pull_request: | |
branches: | |
- main | |
- staging | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup dev tools | |
env: | |
MRSM_SKIP_DOCKER_EXPERIMENTAL: 1 | |
run: ./scripts/setup.sh | |
- name: Install db drivers | |
run: sudo ./scripts/drivers.sh | |
- name: Integration tests | |
env: | |
COMPOSE_INTERACTIVE_NO_CLI: 1 | |
MRSM_TEST_FLAVORS: "all" | |
MRSM_INSTALL_PACKAGES: "api" | |
run: ./scripts/test.sh db | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: logs | |
path: test_root/logs/ | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: daemon_errors.log | |
path: test_root/daemon_errors.log | |
if-no-files-found: ignore |