diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 331686c..bea9594 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [main, master] + branches: [main] pull_request: - branches: [main, master] + branches: [main] jobs: test: @@ -16,19 +16,21 @@ jobs: uses: actions/setup-python@v5 with: python-version: '3.11' - cache: 'pip' - name: Install dependencies run: | + python -m pip install --upgrade pip pip install -e ".[dev]" - name: Run tests - run: | - pytest tests/ -v + run: pytest tests/ -v --tb=short - - name: Upload coverage - uses: codecov/codecov-action@v3 - with: - token: ${{ secrets.CODECOV_TOKEN }} - files: ./coverage.xml - fail_ci_if_error: false + - name: Run linting + run: | + pip install ruff + ruff check . + + - name: Check types + run: | + pip install mypy + mypy config_converter/