From 74cb821dc1c2e300076a1f8020a95a07649f30d9 Mon Sep 17 00:00:00 2001 From: Anish Lakhwara Date: Mon, 21 Nov 2022 01:38:32 +1000 Subject: [PATCH] cleaning up a lil --- .gitignore | 3 +++ basic_test.py | 18 ------------------ justfile | 4 ---- 3 files changed, 3 insertions(+), 22 deletions(-) create mode 100644 .gitignore delete mode 100644 basic_test.py delete mode 100644 justfile diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0d97042 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +postgres/* +postgres_data/* +logfile diff --git a/basic_test.py b/basic_test.py deleted file mode 100644 index 5785147..0000000 --- a/basic_test.py +++ /dev/null @@ -1,18 +0,0 @@ -import os -from pytest import mark - -def test_one(): - assert 2 + 2 == 4 - -def test_nonstandard_module(): - import numpy as np - assert np.linspace(1,2).shape == (50,) - -@mark.skipif(os.getenv('GITHUB_ACTIONS') != 'true', - reason = 'Not running on GHA') -def test_version(): - import sys - vi = sys.version_info - found = f'python{vi.major}{vi.minor}' - expected = os.getenv('EXPECTED_PY') - assert(found == expected) diff --git a/justfile b/justfile deleted file mode 100644 index 0d6c3b0..0000000 --- a/justfile +++ /dev/null @@ -1,4 +0,0 @@ -# -*-Makefile-*- - -test colours='': - pytest -v {{colours}}