Skip to content

Commit

Permalink
Added more details to run-hurl-tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lgwallis authored Nov 2, 2024
1 parent a2f2d17 commit 9ab7d34
Showing 1 changed file with 8 additions and 17 deletions.
25 changes: 8 additions & 17 deletions .github/workflows/run-hurl-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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’

0 comments on commit 9ab7d34

Please sign in to comment.