Skip to content

Commit

Permalink
fix workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
magland committed Mar 15, 2024
1 parent 57276f1 commit 1918b5f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,18 @@ on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
name: Test
name: integration tests
steps:
- uses: actions/checkout@v1
- name: Install
run: pip install -e .
- name: Install packages needed for tests
# pyright 1.1.336 can produce annoying errors
run: pip install pytest pytest-cov pyright==1.1.335
- name: Run pyright
run: cd lindi && pyright
- name: Run tests and collect coverage
run: pyright && pytest --cov lindi --cov-report=xml --cov-report=term tests/
run: pytest --cov lindi --cov-report=xml --cov-report=term tests/
# - uses: codecov/codecov-action@v3
# with:
# token: ${{ secrets.CODECOV_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linter_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ jobs:
# pyright 1.1.336 can produce annoying errors
run: pip install pyright==1.1.335 flake8
- name: Run flake8
run: flake8 --config .flake8
run: cd lindi && flake8 --config .flake8
- name: Run pyright
run: pyright
run: cd lindi && pyright

0 comments on commit 1918b5f

Please sign in to comment.