Add Apache 2.0 License #186
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 | |
tags: "*" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies with pipenv | |
run: | | |
pip install pipenv | |
pipenv install --deploy --dev | |
- run: pipenv run isort --recursive --diff . | |
- run: pipenv run black --check . | |
- run: pipenv run flake8 | |
- run: pipenv run mypy . | |
docker-image: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build docker image | |
run: docker build . -t pulling_ace:test | |
- name: Smoke test docker image | |
run: | | |
docker run --rm pulling_ace:test 10 |