Update .gitea/workflows/test.yaml
CI Test with Python / test (push) Successful in 22s
Details
CI Test with Python / test (push) Successful in 22s
Details
This commit is contained in:
parent
e05ec61160
commit
c001002a52
|
@ -20,7 +20,7 @@ jobs:
|
||||||
echo "import unittest" > test_sample.py
|
echo "import unittest" > test_sample.py
|
||||||
echo "class TestSample(unittest.TestCase):" >> test_sample.py
|
echo "class TestSample(unittest.TestCase):" >> test_sample.py
|
||||||
echo " def test_example(self):" >> test_sample.py
|
echo " def test_example(self):" >> test_sample.py
|
||||||
echo " assert 1 + 1 == 2" >> test_sample.py
|
echo " assert 1 + 1 == 2" >> test_sample.py
|
||||||
echo "if __name__ == '__main__':" >> test_sample.py
|
echo "if __name__ == '__main__':" >> test_sample.py
|
||||||
echo " unittest.main()" >> test_sample.py
|
echo " unittest.main()" >> test_sample.py
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue