Skip to content

Commit

Permalink
Make no-opt tests run only after ruff-check
Browse files Browse the repository at this point in the history
  • Loading branch information
aversey committed Jul 11, 2024
1 parent fa88a6f commit 2124442
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 33 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/optional-dependency.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,3 +209,27 @@ jobs:

- name: Run Pytest suite
run: pytest python/tests

unit_tests_no_opt:
name: Unit Testing (No Optional Dependencies)
needs: lint_stylecheck
runs-on: ubuntu-latest

steps:
- name: Set Timezone
run: sudo timedatectl set-timezone UTC

- uses: actions/checkout@v4
- name: Copy README
run: cp README.md python/

- uses: actions/setup-python@v5
name: Setup Python
with:
python-version: "3.10"
cache: "pip"
cache-dependency-path: "python/setup.py"
- run: pip install -e python[python,dev-no-opt]

- name: Run Pytest suite
run: pytest python/tests

0 comments on commit 2124442

Please sign in to comment.