diff --git a/.github/workflows/automated_checks.yml b/.github/workflows/automated_checks.yml index 4220322..ff673e5 100644 --- a/.github/workflows/automated_checks.yml +++ b/.github/workflows/automated_checks.yml @@ -10,27 +10,28 @@ jobs: build: runs-on: ubuntu-latest + continue-on-error: true strategy: matrix: - python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"] + python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + + - name: Install just + # run: pipx install git+https://github.com/casey/just.git + run: pipx install git+https://github.com/rachtsingh/just.git + + - name: Install uv + run: pipx install uv + - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install black pydocstyle mypy flake8 pytest pytest-mock - - name: Format check with Black - run: black src/ tests/ --check - - name: Docstring style check with pydocstyle - run: pydocstyle src/ - - name: Type check with mypy - run: mypy src/ --strict - - name: Lint with flake8 - run: flake8 src/ - - name: Test with pytest - run: pytest tests/ + run: uv sync --system + + - name: Run checks + run: uv run just checkall