diff --git a/.github/actions/setup-depiction/action.yml b/.github/actions/setup-depiction/action.yml deleted file mode 100644 index 3d2e84a..0000000 --- a/.github/actions/setup-depiction/action.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: "Setup depiction" -description: "Set up depiction for use in GitHub Actions" -inputs: - python-version: - description: "Python version to use" - required: true -runs: - using: "composite" - steps: - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: ${{ inputs.python-version }} - - name: Install bfabricPy - shell: bash - run: | - pip install uv - uv pip install --system ".[dev,testing]" - - name: Print installed packages - shell: bash - run: pip freeze diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index fc800b7..44de0dc 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -11,14 +11,18 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: ./.github/actions/setup-depiction + - name: Set up Python + uses: actions/setup-python@v5 with: python-version: 3.12 + - name: Install nox + shell: bash + run: pip install nox[uv] - name: Run unit tests - run: cd tests && python -m unittest discover -s ./unit -p 'test_*.py' - - name: Code style - run: ruff check || true - if: success() || failure() + run: nox -s tests +# - name: Code style +# run: ruff check || true +# if: success() || failure() #code_style: # name: Code Style # runs-on: ubuntu-latest