diff --git a/.github/workflows/pipeline.yaml b/.github/workflows/pipeline.yaml new file mode 100644 index 0000000..7da3219 --- /dev/null +++ b/.github/workflows/pipeline.yaml @@ -0,0 +1,24 @@ +name: Pipeline +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Install python + uses: actions/setup-python@v4 + with: + python-version: '3.11.1' + + - name: Install poetry + run: pipx install poetry + + - name: Install dependencies + run: poetry install + + - name: Run tests + run: poetry run task test --cov-report=xml \ No newline at end of file