test for translate_argument, rename ast2logic #10
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: CI | |
on: [push, pull_request] | |
jobs: | |
unit-tests: | |
runs-on: ubuntu-latest | |
container: | |
image: cimg/python:3.8 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: pip install tox | |
- name: Run tests | |
run: tox -e unit-tests | |
linters: | |
runs-on: ubuntu-latest | |
container: | |
image: cimg/python:3.8 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: pip install tox | |
- name: Run linters | |
run: tox -e linters | |
typecheck: | |
runs-on: ubuntu-latest | |
container: | |
image: cimg/python:3.8 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: pip install tox | |
- name: Run typecheck | |
run: tox -e typecheck |