diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml new file mode 100644 index 0000000..27d633a --- /dev/null +++ b/.github/workflows/tests.yaml @@ -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 }}." diff --git a/techradar/radars/tests/test_views.py b/techradar/radars/tests/test_views.py index 8a6470a..aff4788 100644 --- a/techradar/radars/tests/test_views.py +++ b/techradar/radars/tests/test_views.py @@ -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):