diff options
author | Timothy Crosley <timothy.crosley@gmail.com> | 2020-08-23 02:30:45 -0700 |
---|---|---|
committer | Timothy Crosley <timothy.crosley@gmail.com> | 2020-08-23 02:30:45 -0700 |
commit | e42153fa6996a048759d2d9b3d2f6b55726293d6 (patch) | |
tree | 10c75c52e5ee7b93bc79b2e724278653c463ba7b /.github | |
parent | c72ca8edf6cca7e47db33edbad680bd7ec76c3b5 (diff) | |
download | isort-e42153fa6996a048759d2d9b3d2f6b55726293d6.tar.gz |
Add integration test CI step
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/integration.yml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml new file mode 100644 index 00000000..06780574 --- /dev/null +++ b/.github/workflows/integration.yml @@ -0,0 +1,35 @@ +name: Lint + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: [3.8] + + steps: + - uses: actions/checkout@v2 + + - name: pip cache + uses: actions/cache@v1 + with: + path: ~/.cache/pip + key: lint-pip-${{ hashFiles('**/pyproject.toml') }} + restore-keys: | + lint-pip- + + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v1 + with: + python-version: ${{ matrix.python-version }} + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + python -m pip install --upgrade poetry + poetry install + + - name: Lint + run: ./scripts/lint.sh |