import package data for test file #55
Workflow file for this run
This file contains 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 Check | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
clean-and-test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
python-version: ['3.10', '3.11'] | |
steps: | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Getting repository | |
uses: actions/checkout@v4 | |
- name: Install dependencies and package | |
run: | | |
python -m pip install --upgrade pip | |
pip install -e . | |
- name: Install pytest | |
run: | | |
pip install pytest pytest-cov | |
- name: Execute PyTest | |
run: python -m pytest -svv --cov=mailcom --cov-report=xml:mailcom/coverage_re/coverage.xml | |
- name: Upload coverage reports to Codecov | |
uses: codecov/[email protected] | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
directory: ./mailcom/coverage_re/ | |