diff --git a/.github/workflows/config-options.yml b/.github/workflows/config-options.yml index d7a5ca28..1b737b99 100644 --- a/.github/workflows/config-options.yml +++ b/.github/workflows/config-options.yml @@ -26,7 +26,7 @@ jobs: - os: macOS-latest compiler: clang++ runs-on: ${{ matrix.os }} - timeout-minutes: 15 + timeout-minutes: 30 defaults: run: shell: bash -l {0} diff --git a/.github/workflows/custom-branch.yml b/.github/workflows/custom-branch.yml index de4bed07..e2c2bf9e 100644 --- a/.github/workflows/custom-branch.yml +++ b/.github/workflows/custom-branch.yml @@ -31,7 +31,7 @@ jobs: - os: "macOS-latest" compiler: "ccache clang++" runs-on: ${{ matrix.os }} - timeout-minutes: 15 + timeout-minutes: 30 env: CXX: "ccache ${{ matrix.compiler }}" CXXFLAGS: "-O2 -g" diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 11ee08c6..fe678e68 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -19,7 +19,7 @@ jobs: - os: macOS-latest compiler: clang++ runs-on: ${{ matrix.os }} - timeout-minutes: 15 + timeout-minutes: 30 defaults: run: shell: bash -l {0} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a28751a6..74a93557 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,7 +19,7 @@ jobs: - os: macOS-latest compiler: clang++ runs-on: ${{ matrix.os }} - timeout-minutes: 15 + timeout-minutes: 30 defaults: run: shell: bash -l {0} diff --git a/.github/workflows/pip.yml b/.github/workflows/pip.yml index 620c93ff..47348329 100644 --- a/.github/workflows/pip.yml +++ b/.github/workflows/pip.yml @@ -20,7 +20,7 @@ jobs: - os: macOS-latest compiler: clang++ runs-on: ${{ matrix.os }} - timeout-minutes: 15 + timeout-minutes: 30 defaults: run: shell: bash -l {0} diff --git a/.github/workflows/test-conda.yml b/.github/workflows/test-conda.yml index ad632b1a..fbd9757a 100644 --- a/.github/workflows/test-conda.yml +++ b/.github/workflows/test-conda.yml @@ -24,7 +24,7 @@ jobs: - os: macOS-latest compiler: clang++ runs-on: ${{ matrix.os }} - timeout-minutes: 15 + timeout-minutes: 30 defaults: run: shell: bash -l {0} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 65b3a4dc..babb80b2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,7 +21,7 @@ jobs: - os: macOS-latest compiler: clang++ runs-on: ${{ matrix.os }} - timeout-minutes: 15 + timeout-minutes: 30 defaults: run: shell: bash -l {0} diff --git a/tests/test_word_graph.py b/tests/test_word_graph.py index facfae91..c7614dd3 100644 --- a/tests/test_word_graph.py +++ b/tests/test_word_graph.py @@ -75,12 +75,14 @@ def test_002(): w.targets(9000) assert next(w.nodes()) == 0 assert w.next_label_and_target(0, 0) == (0, 1) + assert w.number_of_nodes() == 330 + assert w.number_of_edges() == 330 w.reserve(400, 400) assert w.number_of_nodes() == 330 - assert w.number_of_edges() == 659 + assert w.number_of_edges() == 330 assert w.out_degree() == 1 assert list(w.nodes()) == list(range(330)) - assert w.number_of_edges() == 659 + assert w.number_of_edges() == 330 def test_adjacency_matrix(word_graphs):