diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2023-04-22 22:53:18 -0400 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2023-04-22 22:53:18 -0400 |
| commit | e39bb9c73c395738daed57ae689833320d757b61 (patch) | |
| tree | 277cccc348269a6d73884c3d7f576655a7213c14 /.github/workflows/ci.yaml | |
| parent | Add a small set of basic sanity integration tests (diff) | |
| download | poetry-plugin-taskipy2-e39bb9c73c395738daed57ae689833320d757b61.zip | |
Add test job to CI
Diffstat (limited to '.github/workflows/ci.yaml')
| -rw-r--r-- | .github/workflows/ci.yaml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..24d39cd --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,29 @@ +name: CI + +on: [push, pull_request] + +jobs: + lint-and-test: + name: Run the project linters + runs-on: ubuntu-latest + steps: + - name: Check out the repo + uses: actions/checkout@v3 + + - name: Install poetry + run: pipx install poetry + + - name: Setup Python + uses: actions/setup-python@v4 + with: + python-version: '3.11' + cache: 'poetry' + + - name: Install dependencies + run: poetry install + + - name: Run linters + run: poetry run task lint + + - name: Run tests + run: poetry run task test |