This commit is contained in:
@@ -5,10 +5,10 @@ jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
- name: Setup working directory
|
||||
run: |
|
||||
pwd
|
||||
ls -la
|
||||
ls -la man-card-project/ 2>/dev/null || true
|
||||
|
||||
- name: Setup Python
|
||||
run: |
|
||||
@@ -17,14 +17,8 @@ jobs:
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
if [ -f man-card-project/requirements.txt ]; then
|
||||
cd man-card-project
|
||||
fi
|
||||
pip3 install -r requirements.txt
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
if [ -f man-card-project/requirements.txt ]; then
|
||||
cd man-card-project
|
||||
fi
|
||||
pytest3 tests/ -v
|
||||
Reference in New Issue
Block a user