Added badge #1
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: Run Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Install Poetry | |
run: | | |
curl -sSL https://install.python-poetry.org | python3 - | |
echo "${{ runner.temp }}/.poetry/bin" >> $GITHUB_PATH | |
- name: Install Dependencies | |
run: | | |
poetry install | |
- name: Run Tests | |
run: | | |
poetry run pytest tests/* | |
- name: Run Test | |
run: | | |
poetry run image-validator validate |