diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 61ed166..7d1695d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,23 +6,30 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: "ubuntu-latest" strategy: matrix: python: - - "3.7" - - "3.8" - - "3.9" - "3.10" - "3.11" + - "3.12" steps: - - uses: actions/checkout@v3 - - name: Setup Python - uses: actions/setup-python@v4 + - name: "Checkout codebase" + uses: "actions/checkout@v4" + - name: "Setup Python" + uses: "actions/setup-python@v5" with: - python-version: ${{ matrix.python }} - - name: Install tox and any other packages - run: pip install tox - - name: Run tox - run: tox -e py + python-version: "${{ matrix.python }}" + - name: "Install Package with Test Dependencies" + run: "pip install -e \".[test]\"" + - name: "Run Tests: isort" + run: "isort --diff --check decaf/" + - name: "Run Tests: black" + run: "black --check decaf/" + - name: "Run Tests: mypy" + run: "mypy --namespace-packages decaf/api/client" + - name: "Run Tests: flake8" + run: "flake8" + - name: "Run Tests: pytest" + run: "pytest --verbose --doctest-modules"