From eabbdcf4af66f32f165d5c1fcf806f0ef5d3f969 Mon Sep 17 00:00:00 2001 From: Tereso del Rio Date: Sat, 23 Sep 2023 17:03:15 +0100 Subject: [PATCH] File to run tests in github added --- .github/workflows/test.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..784068b --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,26 @@ +name: Run Tests + +on: [push] + +jobs: + test: + runs-on: windows-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Set up Python + uses: actions/setup-python@v2 + with: + python-version: 3.8 + + - name: Install dependencies + run: | + pip install -r requirements.txt + working-directory: ./UsingDorianFeatures + + - name: Run tests + run: | + pytest + working-directory: ./UsingDorianFeatures