From 4e1962c7116097aa3b228df0134e799af60cc40b Mon Sep 17 00:00:00 2001 From: dunossauro Date: Tue, 22 Aug 2023 21:59:11 -0300 Subject: [PATCH] Start github actions --- .github/workflows/pipeline.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/pipeline.yaml 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