Skip to content

Commit

Permalink
chore: fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Lancetnik committed Sep 3, 2024
1 parent f185dc3 commit 58f9138
Showing 1 changed file with 2 additions and 32 deletions.
34 changes: 2 additions & 32 deletions .github/workflows/pr_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,36 +89,6 @@ jobs:
if-no-files-found: error
include-hidden-files: true

test-orjson:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: |
python -m pip install uv
uv pip install --system .[optionals,testing] orjson
- run: mkdir coverage
- name: Test
run: >
bash scripts/test.sh
-m "(slow and ($ALL_PYTEST_MARKERS)) or ($ALL_PYTEST_MARKERS)"
env:
COVERAGE_FILE: coverage/.coverage.orjson
CONTEXT: orjson
- name: Store coverage files
uses: actions/upload-artifact@v4
with:
name: .coverage.orjson
path: coverage
if-no-files-found: error
include-hidden-files: true

test-macos-latest:
if: github.event.pull_request.draft == false
runs-on: macos-latest
Expand All @@ -136,7 +106,7 @@ jobs:
- name: Test
run: >
bash scripts/test.sh
-m "(slow and ($ALL_PYTEST_MARKERS)) or ($ALL_PYTEST_MARKERS)"
-m "(slow and (${{env.ALL_PYTEST_MARKERS}})) or (${{env.ALL_PYTEST_MARKERS}})"
test-windows-latest:
if: github.event.pull_request.draft == false
Expand All @@ -155,7 +125,7 @@ jobs:
- name: Test
run: >
bash scripts/test.sh
-m "(slow and ($ALL_PYTEST_MARKERS)) or ($ALL_PYTEST_MARKERS)"
-m "(slow and (${{env.ALL_PYTEST_MARKERS}})) or (${{env.ALL_PYTEST_MARKERS}})"
test-kafka-smoke:
if: github.event.pull_request.draft == false
Expand Down

0 comments on commit 58f9138

Please sign in to comment.