From ebeff01ff85658dd5aad34f83552d7dc97b148b1 Mon Sep 17 00:00:00 2001 From: "Oscar A. Rangel" Date: Mon, 3 Jun 2024 18:10:20 +0200 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..b3a52e0 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,27 @@ +name: Python application test with Github Actions + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up Python 3.8 + uses: actions/setup-python@v1 + with: + python-version: 3.8 + - name: Install dependencies + run: | + make install + - name: Lint with pylint + run: | + make lint + - name: Test with pytest + run: | + make test + - name: Format code + run: | + make format