added type tuple when checking if verbose is in boolean options #752
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
# This workflow will install Python dependencies, run tests and lint, using | |
# different versions of Python. | |
# | |
# Notes: | |
# - Requires special permission for Github workflows. | |
# - For more information see following: | |
# https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python | |
# - Based initially on version from https://github.com/LimaBD/batspp. | |
# - Running Github Actions with Docker: https://stackoverflow.com/a/64373702 | |
# | |
name: tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build docker image | |
run: | | |
docker build -t mezcla-dev -f- . <Dockerfile | |
- name: Run tests | |
run: | | |
docker run --rm --mount type=bind,source="$(pwd)",target=/home/mezcla mezcla-dev |