Skip to content

Commit

Permalink
Trying to debig
Browse files Browse the repository at this point in the history
  • Loading branch information
Matvey-Kuk committed Sep 29, 2024
1 parent 08d8c0e commit e0d055d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
STORAGE_MANAGER_DIRECTORY: /tmp/storage-manager

jobs:
tests:
tests-docs:
runs-on: ubuntu-latest

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-pr-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ env:
EE_ENABLED: true

jobs:
tests:
tests-e2e:
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,28 +64,35 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3

- uses: chartboost/ruff-action@v1
with:
src: "./keep"

- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true

- name: cache deps
id: cache-deps
uses: actions/cache@v2
with:
path: .venv
key: pydeps-${{ hashFiles('**/poetry.lock') }}

- name: Install dependencies using poetry
run: poetry install --no-interaction --no-root
run: poetry install --no-interaction --no-root --with dev

- name: Validate docs for providers
run: python3 ./scripts/docs_get_providers_list.py --validate;

- name: Run unit tests and report coverage
run: |
# Add a step to wait for MySQL to be fully up and running
Expand All @@ -95,8 +102,10 @@ jobs:
done
echo "MySQL is up and running!"
poetry run coverage run --branch -m pytest --ignore=tests/e2e_tests/
- name: Convert coverage results to JSON (for CodeCov support)
run: poetry run coverage json --omit="keep/providers/*"

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
Expand Down

0 comments on commit e0d055d

Please sign in to comment.