Add filestream framegrabber #306
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
# Run integration tests against the integ API endpoint | |
name: test integ | |
on: [push] | |
jobs: | |
run-tests: | |
runs-on: ubuntu-20.04 | |
strategy: | |
# It's totally debatable which is better here: fail-fast or not. | |
# Failing fast will use fewer cloud resources, in theory. | |
# But if the tests are slightly flaky (fail to pip install something) | |
# Then one flaky install kills lots of jobs that need to be redone. | |
# So the efficiency argument has its limits | |
# Failing slow is clearer about what's going on. | |
# This is pretty unambiguous, so we're going with it for now. | |
fail-fast: false | |
matrix: | |
python-version: [ | |
"3.9", | |
"3.10", | |
"3.11", | |
] | |
steps: | |
- name: get code | |
uses: actions/checkout@v3 | |
- name: install python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Display Python version | |
run: python -c "import sys; print(sys.version)" | |
- name: install poetry and build poetry environment | |
run: | | |
pip install -U pip | |
pip install poetry | |
poetry install | |
- name: run tests | |
run: poetry run pytest |