Enhance slab tensile criterion logic and update tests #192
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
| name: Run unit tests 🤖 | |
| # Trigger conditions for the workflow | |
| "on": | |
| # Run unit tests on pull_request events | |
| pull_request: | |
| types: [opened, reopened, synchronize, ready_for_review] | |
| # Allow this workflow to be called by other workflows | |
| workflow_call: | |
| # Allow this workflow to be called manually (e.g. from the GitHub Actions UI) | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| name: Run unit tests 🤖 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| version: "latest" | |
| - name: Install dependencies | |
| run: uv sync | |
| - name: Run tests | |
| run: uv run python tests/run_tests.py |