⬆️🪝 update pre-commit hooks #260
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| merge_group: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| test_services: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| service: | |
| - mqt-ddsim | |
| - mqt-qcec | |
| - mqt-qmap | |
| - mqt-bench | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.11.x | |
| cache: "pip" | |
| - name: Create and activate conda environment | |
| run: | | |
| pip install -U pip setuptools wheel virtualenv | |
| python -m virtualenv .venv | |
| source .venv/bin/activate | |
| - name: Install dependencies | |
| run: pip install -r ${{ matrix.service }}/requirements.txt | |
| - name: Run service | |
| working-directory: ${{ matrix.service }} | |
| run: python -m src |