Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[das#16] Remove integration tests from the workflows and add them at the end of the release script #130

Merged
merged 1 commit into from
Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Check Pull Request

on:
pull_request:
branches:
- develop
- master

jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ^3.8.5

- name: Checkout
uses: actions/checkout@v4

- name: Install poetry
run: pip3 install poetry

- name: Run poetry lock
run: poetry lock --no-update

- name: Install dependencies
run: poetry export --dev -f requirements.txt | pip3 install -r /dev/stdin

- name: Run Unit Tests
run: make unit-tests unit-tests-coverage
10 changes: 4 additions & 6 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
---
name: Testing
name: Run Unit & Integration tests

on:
pull_request:
branches:
- develop
- master
workflow_dispatch:
inputs:

jobs:
tests:
Expand All @@ -23,7 +21,7 @@ jobs:
run: pip3 install poetry

- name: Run poetry lock
run: poetry lock --no-update
run: poetry lock --no-update

- name: Install dependencies
run: poetry export --dev -f requirements.txt | pip3 install -r /dev/stdin
Expand Down
Loading