Skip to content

Commit

Permalink
Merge branch 'develop' into feature/bump_requests
Browse files Browse the repository at this point in the history
  • Loading branch information
ggsdc committed Aug 28, 2024
2 parents 6d5c680 + 3c2a88b commit 5ee8939
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test_cornflow_client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ on:
push:
branches:
- master
- development
- develop
paths:
- 'libs/client/**'
- '.github/workflows/test_cornflow_client.yml'
- '!libs/client/README.rst'
- '!libs/client/setup.py'

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test_cornflow_dags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ on:
push:
branches:
- master
- development
- develop
paths:
- 'cornflow-dags/**'
- '.github/workflows/test_cornflow_dags.yml'
- '!cornflow-dags/README.rst'

jobs:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test_cornflow_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ on:
push:
branches:
- master
- development
- develop
paths:
- 'cornflow-server/**'
- '.github/workflows/test_cornflow_server.yml'
- '!cornflow-server/docs/**'
- '!cornflow-server/README.rst'

Expand Down
29 changes: 28 additions & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,31 @@ flag_management:
- name: dags-tests
paths:
- cornflow-dags/


comment:
layout: "header, diff, flags, components"

component_management:
default_rules:
statuses:
- type: project
target: auto
threshold: 5%
branches:
- "!master"
individual_components:
- component_id: server
name: server
paths:
- cornflow-server/**
- "!cornflow-server/cornflow/tests/**"
- component_id: client
name: client
paths:
- libs/client/**
- "!libs/client/tests/**"
- component_id: dags
name: dags
paths:
- cornflow-dags/**
- "!cornflow-dags/tests/**"
2 changes: 2 additions & 0 deletions cornflow-dags/.coveragerc
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[run]
branch = True

omit =
*/tests/*

Expand Down
1 change: 1 addition & 0 deletions cornflow-dags/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ xmltodict<=0.13.0
openpyxl<=3.1.2
pyomo<=6.6.2
tsplib95<=0.7.1
numpy<2.0.0
2 changes: 2 additions & 0 deletions cornflow-server/.coveragerc
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[run]
branch = True

omit =
*/tests/*

Expand Down
3 changes: 2 additions & 1 deletion docs/source/main/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ Then we export the variables that we need to run airflow::
export AIRFLOW__API__AUTH_BACKEND=airflow.api.auth.backend.basic_auth
export AIRFLOW__WEBSERVER__SECRET_KEY=e9adafa751fd35adfc1fdd3285019be15eea0758f76e38e1e37a1154fb36
export AIRFLOW_CONN_CF_URI=http://service_user:Service_password1@localhost:5000
export AIRFLOW_HOME=./airflow_config/
airflow webserver -p 8080 &
airflow scheduler &

Expand Down Expand Up @@ -195,4 +196,4 @@ Troubleshooting

To install all the dependencies, additional packages may be needed. For example, in Ubuntu 20.04, the following packages are needed::

sudo apt-get install libpq-dev python3-dev python3.10-venv build-essential
sudo apt-get install libpq-dev python3-dev python3.10-venv build-essential
2 changes: 2 additions & 0 deletions libs/client/.coveragerc
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[run]
branch = True

omit =
*/tests/*

Expand Down

0 comments on commit 5ee8939

Please sign in to comment.