Merge branch 'main' into main #1
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: Pytest | |
| permissions: | |
| contents: write | |
| pages: write | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| paths-ignore: | |
| # Do not run if only the documentation has been changed | |
| - 'docs/**' | |
| - '**/*.md' | |
| pull_request: | |
| paths-ignore: | |
| # Do not run if only the documentation has been changed | |
| - 'docs/**' | |
| - '**/*.md' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.9"] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install pytest | |
| pip install . | |
| - name: Analysing the code with pytest | |
| run: | | |
| pytest tests/test_automl | |