Skip to content

Commit

Permalink
add API tests to continuous integration
Browse files Browse the repository at this point in the history
  • Loading branch information
TShapinsky committed Dec 29, 2023
1 parent e8bd6ad commit 6ec10f7
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,15 @@ jobs:
- name: Dump docker logs before tests
uses: jwalton/gh-docker-logs@v1

- name: Run tests with pytest
- name: Install dependencies
run: poetry install

- name: Run API tests with pytest
run: |
poetry run pytest --timeout=120 -m api
- name: Run integration tests with pytest
run: |
poetry install
poetry run pytest --timeout=600 -m "integration"
- name: Run worker scale tests with pytest
Expand Down Expand Up @@ -230,9 +236,15 @@ jobs:
- name: Dump docker logs before tests
uses: jwalton/gh-docker-logs@v1

- name: Run tests with pytest
- name: Install dependencies
run: poetry install

- name: Run API tests with pytest
run: |
poetry run pytest --timeout=120 -m api
- name: Run integration tests with pytest
run: |
poetry install
poetry run pytest --timeout=600 -m "integration"
- name: Run worker scale tests with pytest
Expand Down

0 comments on commit 6ec10f7

Please sign in to comment.