Skip to content

Commit 7ff3e5e

Browse files
defaudegithub-actions
and
github-actions
authored
test: skip test that's running way too long (TheAlgorithms#1393)
* test: skip test that's running way too long It's good to have the test there, but there's no use having it running for ~30 minutes or so in the GitHub Action close TheAlgorithms#1193 * Updated Documentation in README.md --------- Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
1 parent 6291d4b commit 7ff3e5e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

DIRECTORY.md

+3
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@
99
* [SumOfSubset](Backtracking/SumOfSubset.js)
1010
* **Bit-Manipulation**
1111
* [BinaryCountSetBits](Bit-Manipulation/BinaryCountSetBits.js)
12+
* [IsPowerofFour](Bit-Manipulation/IsPowerofFour.js)
1213
* [IsPowerOfTwo](Bit-Manipulation/IsPowerOfTwo.js)
1314
* [LogTwo](Bit-Manipulation/LogTwo.js)
1415
* [NextPowerOfTwo](Bit-Manipulation/NextPowerOfTwo.js)
1516
* [SetBit](Bit-Manipulation/SetBit.js)
17+
* [UniqueElementInAnArray](Bit-Manipulation/UniqueElementInAnArray.js)
1618
* **Cache**
1719
* [LFUCache](Cache/LFUCache.js)
1820
* [LRUCache](Cache/LRUCache.js)
@@ -270,6 +272,7 @@
270272
* [Problem017](Project-Euler/Problem017.js)
271273
* [Problem018](Project-Euler/Problem018.js)
272274
* [Problem020](Project-Euler/Problem020.js)
275+
* [Problem021](Project-Euler/Problem021.js)
273276
* [Problem023](Project-Euler/Problem023.js)
274277
* [Problem025](Project-Euler/Problem025.js)
275278
* [Problem028](Project-Euler/Problem028.js)

Project-Euler/test/Problem044.test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ describe('checking nth prime number', () => {
1212
expect(problem44(1)).toBe(5482660)
1313
})
1414
// Project Euler Second Value for Condition Check
15-
// FIXME skip this test for now because it runs very long and clogs up the CI & pre-commit hook
16-
test('if the number is greater or equal to 2167', () => {
15+
// Skipping this by default as it makes CI runs take way too long
16+
test.skip('if the number is greater or equal to 2167', () => {
1717
expect(problem44(2167)).toBe(8476206790)
1818
})
1919
})

0 commit comments

Comments
 (0)