Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Tests
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
on: [push]
jobs:
Explore-GitHub-Actions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.13.0
- run: python -m pip install --upgrade pip
- run: pip install -r requirements.txt
- run: pytest
- run: echo "🍏 This job's status is ${{ job.status }}."
4 changes: 2 additions & 2 deletions techradar/radars/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ def test_get_radar_list(self, api_client):

assert response.status_code == status.HTTP_200_OK
assert response.json() == [
{"label": "Frontend", "slug": "frontend"},
{"label": "Backend", "slug": "backend"},
{"label": "Frontend", "slug": "frontend", "color": "#FF0000"},
{"label": "Backend", "slug": "backend", "color": "#FF0000"},
]

def test_get_proper_radar(self, api_client):
Expand Down