feat: add skip_reference_validation parameter to project import #7
Workflow file for this run
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
| # .github/workflows/premerge.yaml | |
| --- | |
| name: Run pre-merge pipeline | |
| on: | |
| pull_request: | |
| branches: | |
| - devel | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Set up uv cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/uv | |
| key: uv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('uv.lock') }} | |
| restore-keys: | | |
| uv-${{ runner.os }}-${{ matrix.python-version }}- | |
| uv-${{ runner.os }}- | |
| - name: Install the project | |
| run: uv sync --all-extras --dev | |
| - name: Run the premerge target | |
| run: make premerge | |
| - name: Run coverage check with 95% threshold | |
| run: uv run pytest --cov=asyncplatform --cov-report=term --cov-fail-under=95 tests/ | |