Remove Coveralls action from tests.yaml #13
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: Test | |
on: | |
push: | |
branches-ignore: | |
- main | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
python_version: ["3.10", "3.11", "3.12"] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Update python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python_version }} | |
architecture: x64 | |
- name: Install Poetry | |
run: curl -sSL curl -sSL https://install.python-poetry.org | python3 - | |
- name: Set env | |
run: echo "PATH=${PATH}:$HOME/.poetry/bin" >> $GITHUB_ENV | |
- name: Checkout branch | |
uses: actions/checkout@v4 | |
- name: Install packages via Poetry | |
run: poetry install | |
- name: Run tests with coverage | |
run: poetry run coverage run --branch --module pytest | |
- name: Check type annotations | |
run: poetry run mypy | |
- name: Check code style | |
run: poetry run pylint msps | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v4.0.1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
slug: tyutyutyu/msps |