Release v0.1.1 after fixing package setup #5
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 main" | |
on: | |
pull_request: | |
branches: | |
- main | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
ci-python: | |
name: ci-python | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Python Setup | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.10' | |
- name: Dependencies Setup | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -r ./requirements/dev.txt | |
- name: Linter Analysis - flake8 | |
run: | |
flake8 . --ignore E501 | |
ci-pytest: | |
name: ci-pytest | |
runs-on: ubuntu-latest | |
needs: | |
- ci-python | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Python Setup | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.10' | |
- name: Dependencies Setup | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -r ./requirements/dev.txt | |
- name: Unit Test with pytest | |
run: | |
pytest -vv --color=yes --cov=./ --cov-report=xml | |
- name: Test Coverage with Codecov | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |