Skip to content
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
41 changes: 36 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,35 @@ orbs:
python: circleci/python@1.5.0

jobs:
core-integration-tests:
style_and_unit_tests:
parameters:
python_version:
type: string
docker:
- image: cimg/python:<< parameters.python_version >>
resource_class: small
steps:
- checkout
- run:
name: Install OpenJDK
command: sudo apt-get update && sudo apt-get install default-jdk
- run:
name: Install dependencies
command: make install-dev
- run:
name: Run liners and code style checks
command: make style
- run:
name: Run unit tests
command: make unit-test
- run:
name: Run doc tests
command: make doc-test

core_integration_tests:
docker:
- image: cimg/python:3.7
resource_class: small
steps:
- checkout
- run:
Expand All @@ -16,10 +42,11 @@ jobs:
name: Run Core integration tests
command: make core-it-test

airflow-integration-tests:
airflow_integration_tests:
machine:
image: ubuntu-2204:2022.10.2
docker_layer_caching: true
resource_class: large
steps:
- checkout
- run:
Expand All @@ -39,7 +66,11 @@ jobs:
path: /tmp/airflow_logs

workflows:
main-pr-integration-tests:
main_pr:
jobs:
- core-integration-tests
- airflow-integration-tests
- style_and_unit_tests:
matrix:
parameters:
python_version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
- core_integration_tests
- airflow_integration_tests
29 changes: 0 additions & 29 deletions .github/workflows/main.yaml

This file was deleted.