• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openSUSE / agama / 10851424143
72%

Build:
DEFAULT BRANCH: master
Ran 13 Sep 2024 03:08PM UTC
Jobs 3
Files 884
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Sep 2024 02:58PM UTC coverage: 71.702% (-0.09%) from 71.796%
10851424143

push

github

web-flow
Add additional wireless settings (#1602)

## Problem

Network model was missing some required fields for the wicked migration.

## Solution

Added the required fields to both the model and settings. I've also
added some fields present in the model to be available via the settings.

## Testing

- *Extended existing unit tests*
- *Tested manually*
```bash
sudo agama auth login && AGAMA_TOKEN=`sudo agama auth show`
curl http://localhost/api/network/connections \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $AGAMA_TOKEN" \
    -d '{ "id": "wifi", "method4": "auto", "method6": "auto", "ignoreAutoDns": false, "wireless": { "security": "wpa-psk", "ssid": "test-ssid", "mode": "infrastructure", "groupAlgorithms": [ "wep40", "wep104" ], "pairwiseAlgorithms": [ "tkip", "ccmp" ], "wpaProtocolVersions": [ "wpa" ], "pmf": 2, "hidden": true, "band": "a", "channel": 100, "bssid": "12:34:56:78:9A:BC" }, "status": "down" }'
curl -X POST http://localhost/api/network/system/apply \
    -H "Content-Type: application/json" \
    -H "Authorization: Bearer $AGAMA_TOKEN"
nmcli con show wifi
# See relevant fields in 802-11-wireless.* and 802-11-wireless-security.* set.
```

1987 of 2868 branches covered (69.28%)

Branch coverage included in aggregate %.

60 of 126 new or added lines in 3 files covered. (47.62%)

1 existing line in 1 file now uncovered.

21861 of 30392 relevant lines covered (71.93%)

36.18 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
15
72.8
-0.32% rust/agama-server/src/network/nm/dbus.rs
51
49.51
-3.03% rust/agama-server/src/network/model.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
49.51
-3.03% rust/agama-server/src/network/model.rs
Subprojects
ID Flag name Job ID Ran Files Coverage
3 rust 10851424143.3 13 Sep 2024 03:08PM UTC 99
26.35
GitHub Action Run
3 service 10791169333.3 10 Sep 2024 11:08AM UTC 442
87.2
GitHub Action Run
3 web 8937163624.3 03 May 2024 09:49AM UTC 343
75.3
GitHub Action Run
Source Files on build 10851424143
  • Tree
  • List 884
  • Changed 27
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #10851424143
  • af3c4f6c on github
  • Prev Build on master (#10846239344)
  • Next Build on master (#10878502429)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc