diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 6dbe56d..4475a6c 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -36,6 +36,6 @@ jobs: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - - name: Test with pytest - run: | - pytest fibtest.py +# - name: Test with pytest +# run: | +# pytest fibtest.py diff --git a/fibtest.py b/fibtest.py deleted file mode 100644 index 89ca598..0000000 --- a/fibtest.py +++ /dev/null @@ -1,10 +0,0 @@ -import os - - -# testing Fibonacci number function -def fib(n: int) -> int: - return n if n < 2 else fib(n - 1) + fib(n - 2) - - -def test_fibonacci(): - assert fib(int(os.environ["FIB_INPUT"])) == 55