Add Dominated Novelty Search #751
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, develop] | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| style: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install uv | |
| run: | | |
| curl -LsSf https://astral.sh/uv/install.sh | sh | |
| echo "/home/runner/.local/bin" >> $GITHUB_PATH | |
| - name: Install project (dev) | |
| run: | | |
| uv pip install --system .[dev] | |
| - name: Run pre-commit | |
| run: | | |
| git config --global --add safe.directory $GITHUB_WORKSPACE | |
| pre-commit run --all-files --show-diff-on-failure | |
| tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ['3.11', '3.12', '3.13'] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install uv | |
| run: | | |
| curl -LsSf https://astral.sh/uv/install.sh | sh | |
| echo "/home/runner/.local/bin" >> $GITHUB_PATH | |
| - name: Install project (dev + examples) | |
| run: | | |
| uv pip install --system .[dev,examples] | |
| - name: Run tests (coverage) | |
| run: | | |
| coverage run -m pytest -vv tests | |
| coverage xml | |
| - name: Upload Coverage to Codecov | |
| uses: codecov/codecov-action@v4 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} |