Update README.md #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [ push ] | |
jobs: | |
main: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
include: | |
- python-version: 3.6 | |
- python-version: 3.7 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
name: Setup Python ${{ matrix.python-version }} | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install and run SensorThingsAPI | |
uses: ./ | |
- name: Install requirements 📦 | |
run: | | |
pip3 install pygeoapi | |
pip3 install pytest | |
pip3 install requests | |
- name: run unit tests ⚙️ | |
run: | | |
pytest test_sensorthings.py | |
- name: failed tests 🚩 | |
if: ${{ failure() }} | |
run: | | |
pip3 list -v | |
docker ps |