Bump setuptools from 65.5.1 to 70.0.0 #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: Test | |
on: | |
pull_request: {} | |
push: | |
branches: main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies with poetry | |
run: | | |
pip install poetry | |
poetry install | |
- run: poetry run isort --recursive --diff | |
- run: poetry run black --check . | |
- run: poetry run flake8 | |
- run: poetry run mypy | |
- run: poetry run pytest --cov --cov-fail-under=75 | |
docker-image: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build docker image | |
run: docker build . -t yaml2jsonnet:test | |
- name: Smoke test docker image | |
run: | | |
docker run --rm yaml2jsonnet:test |