From 9ab7d3452023081f226ea684ed13b2e85c61a727 Mon Sep 17 00:00:00 2001 From: lgwallis <127695345+lgwallis@users.noreply.github.com> Date: Sat, 2 Nov 2024 16:46:41 -0400 Subject: [PATCH] Added more details to run-hurl-tests.yml --- .github/workflows/run-hurl-tests.yml | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/.github/workflows/run-hurl-tests.yml b/.github/workflows/run-hurl-tests.yml index ea64c6c..27c8c45 100644 --- a/.github/workflows/run-hurl-tests.yml +++ b/.github/workflows/run-hurl-tests.yml @@ -14,25 +14,16 @@ on: jobs: test: runs-on: ubuntu-latest + permissions: + contents: read + packages: write steps: - - name: Check out the code - uses: actions/checkout@v3 + - name: Check out the repository + uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.x' - - - name: Install Django and Hurl dependencies - run: | - python -m pip install --upgrade pip - pip install -r requirements.txt - sudo apt-get update - sudo apt-get install -y hurl - - - name: Run Django Server - run: python manage.py runserver & + - name: Run backend server + run: python3 manage.py runserver - name: Run Hurl Tests - run: hurl tests/test_endpoints.hurl + run: hurl --test --very-verbose ‘Hurl Endpoint Tests.py’