Merge pull request #8 from fioannidis-noris/tests #5
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: Unit tests | |
| on: [push, pull_request] | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.11", "3.12"] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install application requirements | |
| run: | | |
| sudo apt update --yes | |
| sudo apt install exim4 --yes | |
| - name: Install test tools | |
| run: pip install pytest==9.0.1 pytest-cov==7.0.0 | |
| - name: Install project | |
| run: pip install . | |
| - name: Run tests | |
| run: pytest --cov-report=html --cov-report=term-missing --cov=pysieved tests/ |