Skip to content

Commit 6dcd577

Browse files
author
Jonas Danke
committed
update
1 parent 64a64de commit 6dcd577

6 files changed

Lines changed: 4 additions & 20 deletions

File tree

.github/workflows/docs-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: "Docs link check"
2-
on: [push]
2+
on: [pull_request]
33

44
jobs:
55
build:

.github/workflows/tests.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ jobs:
3434
- name: Run fast tests
3535
run: |
3636
python -m pytest -m "fast" -vv \
37-
--durations=20 \
3837
--junitxml=fast-report.xml \
3938
--html=fast-report.html \
4039
--self-contained-html \
@@ -73,7 +72,6 @@ jobs:
7372
- name: Run full test suite
7473
run: |
7574
python -m pytest -vv \
76-
--durations=20 \
7775
--junitxml=full-report.xml \
7876
--html=full-report.html \
7977
--self-contained-html \

tests/flex_opt/test_costs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import numpy as np
22
import pandas as pd
33
import pytest
4-
4+
pytestmark = pytest.mark.fast
55
from edisgo import EDisGo
66
from edisgo.flex_opt import costs as costs_mod
77

tests/network/test_components.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import pandas as pd
22
import pytest
3-
3+
pytestmark = pytest.mark.fast
44
from edisgo import EDisGo
55
from edisgo.network.components import Generator, Load, Storage, Switch
66

tests/test_sample.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,5 @@
11
import pytest
22

3-
4-
@pytest.mark.fast
5-
def test_fast_example():
6-
assert 1 + 1 == 2
7-
8-
@pytest.mark.fast
9-
def test_fast_example2():
10-
assert 2 + 2 == 4
11-
12-
@pytest.mark.fast
13-
def test_fast_example3():
14-
assert 2 + 1 == 3
15-
16-
173
@pytest.mark.slow
184
def test_slow_example():
195
assert sum(range(1000000)) > 0

tests/tools/test_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import numpy as np
44
import pandas as pd
55
import pytest
6-
6+
pytestmark = pytest.mark.fast
77
from numpy.testing import assert_allclose, assert_array_equal
88

99
from edisgo import EDisGo

0 commit comments

Comments
 (0)