Skip to content

Commit

Permalink
refactor(test.yml): Remove Ubuntu from test matrix and simplify test …
Browse files Browse the repository at this point in the history
…command
  • Loading branch information
chenmozhijin committed Dec 8, 2024
1 parent 4932ca4 commit 8544cd1
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-13, ubuntu-latest, windows-latest]
os: [macos-13, windows-latest]
arch: [x64]
include:
- os: macos-latest
Expand Down Expand Up @@ -56,11 +56,7 @@ jobs:
- name: Run tests
run: |
if [ "${{ runner.os }}" == "Linux" ]; then
xvfb-run pytest --cov=lddc --cov-report=xml --cov-report=html --disable-warnings
else
pytest --cov=lddc --cov-report=xml --cov-report=html --disable-warnings
fi
pytest --cov=lddc --cov-report=xml --cov-report=html --disable-warnings
- name: Save test artifacts
if: always()
Expand Down

0 comments on commit 8544cd1

Please sign in to comment.