From 83e767051a5fe082c7f0194484ab6a0d545e3c48 Mon Sep 17 00:00:00 2001 From: Jules Dejaeghere Date: Wed, 27 Dec 2023 11:43:30 +0100 Subject: [PATCH] Add pytest pipeline --- .github/workflows/pytest.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/pytest.yml diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml new file mode 100644 index 0000000..3a4731e --- /dev/null +++ b/.github/workflows/pytest.yml @@ -0,0 +1,28 @@ +name: Run Python tests + +on: [push] + +jobs: + build: + name: Run tests + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.11"] + + steps: + - uses: szenius/set-timezone@v1.2 + with: + timezoneLinux: "Europe/Brussels" + - uses: actions/checkout@v3 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: pip install pytest pytest-md pytest-emoji + - uses: pavelzw/pytest-action@v2 + with: + emoji: false + verbose: false + job-summary: true \ No newline at end of file