Update pre-commit and all hooks #4130
Workflow file for this run
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: Mula Run the test suite | |
on: | |
push: | |
branches: | |
- "main" | |
- "release-*" | |
tags: | |
- "*" | |
paths: | |
- mula/** | |
- .github/workflows/mula_test.yml | |
pull_request: | |
paths: | |
- mula/** | |
- .github/workflows/mula_test.yml | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
version: ["3.10", "3.11"] | |
runs-on: ubuntu-20.04 | |
env: | |
COMPOSE_FILE: .ci/docker-compose.yml | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Build the images | |
run: DOCKER_BUILDKIT=1 COMPOSE_DOCKER_CLI_BUILD=1 docker compose --project-directory . -f .ci/docker-compose.yml build --build-arg PYTHON_VERSION=${{ matrix.version }} | |
working-directory: ./mula | |
- name: Run unit tests | |
run: make utest | |
working-directory: ./mula | |
- name: Run integration tests | |
run: make itest | |
working-directory: ./mula |