We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 071b3db commit 65b0806Copy full SHA for 65b0806
3 files changed
.github/workflows/main.yaml
@@ -33,7 +33,7 @@ jobs:
33
if [ -f requirements-ci.txt ]; then pip install -r requirements-ci.txt; fi
34
35
- name: Run tests
36
- run: coverage run --source=vwo setup.py test
+ run: coverage run --source=vwo -m pytest tests
37
38
- name: Upload coverage to Codecov
39
uses: codecov/codecov-action@v3
git-hooks/pre-push
@@ -3,13 +3,13 @@
3
set -e
4
5
echo "RUNNING PRE-PUSH SCRIPT"
6
-python setup.py test
+python -m pytest tests
7
if [ $? -eq 1 ]
8
then
9
echo "Some tests failed for python2" >&2
10
exit 1
11
else
12
- python3 setup.py test
+ python3 -m pytest tests
13
14
15
echo "Some tests failed for python3" >&2
requirements-ci.txt
@@ -1,2 +1,3 @@
1
mock==3.0.5
2
-coverage==4.5.4
+coverage==4.5.4
+pytest==8.4.2
0 commit comments