cleaning up a lil

This commit is contained in:
Anish Lakhwara 2022-11-21 01:38:32 +10:00
parent a083ca364b
commit 74cb821dc1
3 changed files with 3 additions and 22 deletions

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
postgres/*
postgres_data/*
logfile

View file

@ -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)

View file

@ -1,4 +0,0 @@
# -*-Makefile-*-
test colours='':
pytest -v {{colours}}