Added Features: Exemplar Selection and Refactoring #47
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: CI | |
| on: | |
| push: | |
| branches: | |
| - dev | |
| pull_request: | |
| types: [opened, synchronize] | |
| branches: | |
| - main | |
| - dev | |
| workflow_call: | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v3 | |
| - name: Set up Python and Poetry | |
| uses: ./.github/actions/python-poetry | |
| with: | |
| groups: dev | |
| - name: Run pre-commit | |
| uses: pre-commit/[email protected] | |
| # - name: Run tests | |
| # run: poetry run python -m pytest | |
| build: | |
| runs-on: ubuntu-latest | |
| needs: test | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v3 | |
| - name: Set up Python and Poetry | |
| uses: ./.github/actions/python-poetry | |
| - name: Build wheel | |
| run: poetry build --format wheel | |
| - name: Upload wheel | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ${{ github.event.repository.name }} | |
| path: dist/ |