|
|
@ -31,11 +31,13 @@ jobs: |
|
|
|
- name: Test with pytest |
|
|
|
- name: Test with pytest |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
pytest PyCTBN/tests/> |
|
|
|
pytest PyCTBN/tests/> |
|
|
|
|
|
|
|
- name: Checkout code |
|
|
|
|
|
|
|
uses: actions/checkout@v2 |
|
|
|
- name: Install dependencies |
|
|
|
- name: Install dependencies |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
python -m pip install --upgrade pip |
|
|
|
python -m pip install --upgrade pip |
|
|
|
python -m pip install flake8 pytest |
|
|
|
python -m pip install flake8 pytest |
|
|
|
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi |
|
|
|
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi |
|
|
|
- name: Install pypa/build |
|
|
|
- name: Install pypa/build |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
python -m pip install build |
|
|
|
python -m pip install build |
|
|
|