Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yiweny committed Jul 11, 2024
1 parent e520034 commit aae88bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup packages
uses: ./.github/actions/setup
- name: Set up Python
uses: actions/setup-python@v5
with:
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,19 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 40

- name: Setup packages
if: steps.changed-files-specific.outputs.only_changed != 'true'
uses: ./.github/actions/setup

- name: Install main package
if: steps.changed-files-specific.outputs.only_changed != 'true'
run: |
pip install -e .[full,test]
- name: Run tests
if: steps.changed-files-specific.outputs.only_changed != 'true'
run: |
pytest --cov --cov-report=xml
- name: Upload coverage
if: steps.changed-files-specific.outputs.only_changed != 'true'
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: false

0 comments on commit aae88bc

Please sign in to comment.