remove deprecated CSV input field NUM_RUNS #47
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 and Test | |
on: | |
push: | |
env: | |
PYTHON_VERSION: '3.10.1' | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Install Python version | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Build | |
run: python --version && pip install pipx && pipx install poetry && poetry install | |
test: | |
runs-on: ubuntu-20.04 | |
needs: build | |
steps: | |
- name: Install Python version | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install Poetry | |
run: pip install pipx && pipx install poetry | |
- name: Install dependencies | |
run: poetry install | |
- name: Debug output installed dependencies | |
run: poetry run pip list | |
- name: Test | |
run: poetry run python3 -m pytest -v --cov=flapy --cov-branch --cov-report html:cov_html --cov-report=term-missing tests/ | |
working-directory: ${{ github.workspace }} |