CI with bash shebang
This commit is contained in:
@@ -6,13 +6,11 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Setup
|
- name: Setup and test
|
||||||
run: |
|
run: |
|
||||||
set -x
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
pip3 install -e /app
|
pip3 install -e /app
|
||||||
pip3 install pytest pytest-asyncio
|
pip3 install pytest pytest-asyncio
|
||||||
- name: Run tests
|
|
||||||
run: |
|
|
||||||
cd /app
|
cd /app
|
||||||
pytest tests/ -v
|
pytest tests/ -v
|
||||||
exit $?
|
|
||||||
Reference in New Issue
Block a user