cleaning up a lil
This commit is contained in:
parent
a083ca364b
commit
74cb821dc1
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
postgres/*
|
||||||
|
postgres_data/*
|
||||||
|
logfile
|
|
@ -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)
|
|
Loading…
Reference in a new issue