From 31c8ecb110abdb984c1d91689713fc531ad3c37d Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Mon, 3 Apr 2023 11:47:27 -0300 Subject: [PATCH] Create .github/workflows/python-app.yml --- .github/workflows/python-app.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/python-app.yml diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml new file mode 100644 index 0000000..79b90a7 --- /dev/null +++ b/.github/workflows/python-app.yml @@ -0,0 +1,28 @@ +name: tests + +on: + push: + branches: [ "master" ] + pull_request: + + +permissions: + contents: read + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up Python 3.x + uses: actions/setup-python@v3 + with: + python-version: "3.x" + - name: Install dependencies + run: | + python -m pip install -e .[test] + - name: Test + run: | + pytest