Skip to content

Commit

Permalink
Fix broken TO API Contract Tests GHA (#7581)
Browse files Browse the repository at this point in the history
* updated install python step

* add traffic ops api contract test GHA badge
  • Loading branch information
ericholguin authored Jun 16, 2023
1 parent 2c1c0d9 commit ad0d6f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/to.api.contract.tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ jobs:
with:
go-version: ${{ steps.go-version.outputs.value }}
- name: Install Python
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.10.11
python-version: '3.10'
- name: Install Python dependencies
run: |
pip install -r "${{ github.workspace }}/traffic_ops/testing/api_contract/v4/requirements.txt"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ __Test Status__ [^1]
| Component | Unit Tests | Integration Tests |
|:---------------|:-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Go Libraries | [![Go Lib Unit Tests](https://github.com/apache/trafficcontrol/actions/workflows/go.lib.unit.tests.yml/badge.svg?branch=master)](https://github.com/apache/trafficcontrol/actions/workflows/go.lib.unit.tests.yml?query=branch%3Amaster) [![Codecov](https://codecov.io/gh/apache/trafficcontrol/branch/master/graph/badge.svg?flag=golib_unit)](https://app.codecov.io/github/apache/trafficcontrol/tree/master/lib) | - |
| Traffic Ops | [![Traffic Ops Unit Tests](https://github.com/apache/trafficcontrol/actions/workflows/to.unit.tests.yml/badge.svg?branch=master)](https://github.com/apache/trafficcontrol/actions/workflows/to.unit.tests.yml?query=branch%3Amaster) [![Codecov](https://codecov.io/gh/apache/trafficcontrol/branch/master/graph/badge.svg?flag=traffic_ops_unit)](https://app.codecov.io/github/apache/trafficcontrol/tree/master/traffic_ops) | [![TO Go Client Integration Tests](https://github.com/apache/trafficcontrol/workflows/TO%20Go%20Client%20Integration%20Tests/badge.svg)](https://github.com/apache/trafficcontrol/actions/workflows/traffic-ops.yml?query=branch%3Amaster) [![Codecov](https://codecov.io/gh/apache/trafficcontrol/branch/master/graph/badge.svg?flag=traffic_ops_integration)](https://app.codecov.io/github/apache/trafficcontrol/tree/master/traffic_ops) |
| Traffic Ops | [![Traffic Ops Unit Tests](https://github.com/apache/trafficcontrol/actions/workflows/to.unit.tests.yml/badge.svg?branch=master)](https://github.com/apache/trafficcontrol/actions/workflows/to.unit.tests.yml?query=branch%3Amaster) [![Codecov](https://codecov.io/gh/apache/trafficcontrol/branch/master/graph/badge.svg?flag=traffic_ops_unit)](https://app.codecov.io/github/apache/trafficcontrol/tree/master/traffic_ops) [![Traffic Ops API Contract Tests](https://github.com/apache/trafficcontrol/actions/workflows/to.api.contract.tests.yml/badge.svg)](https://github.com/apache/trafficcontrol/actions/workflows/to.api.contract.tests.yml) | [![TO Go Client Integration Tests](https://github.com/apache/trafficcontrol/workflows/TO%20Go%20Client%20Integration%20Tests/badge.svg)](https://github.com/apache/trafficcontrol/actions/workflows/traffic-ops.yml?query=branch%3Amaster) [![Codecov](https://codecov.io/gh/apache/trafficcontrol/branch/master/graph/badge.svg?flag=traffic_ops_integration)](https://app.codecov.io/github/apache/trafficcontrol/tree/master/traffic_ops) |
| Traffic Router | [![Traffic Router Tests](https://github.com/apache/trafficcontrol/workflows/Traffic%20Router%20Tests/badge.svg)](https://github.com/apache/trafficcontrol/actions/workflows/tr.tests.yaml?query=branch%3Amaster) [![Codecov](https://codecov.io/gh/apache/trafficcontrol/branch/master/graph/badge.svg?flag=traffic_router_unit)](https://app.codecov.io/github/apache/trafficcontrol/tree/master/traffic_router) | [![TR Ultimate Test Harness](https://github.com/apache/trafficcontrol/workflows/TR%20Ultimate%20Test%20Harness/badge.svg)](https://github.com/apache/trafficcontrol/actions/workflows/tr-ultimate-test-harness.yml?query=branch%3Amaster) |
| Traffic Monitor| [![Traffic Monitor Unit Tests](https://github.com/apache/trafficcontrol/actions/workflows/tm.unit.tests.yml/badge.svg?branch=master)](https://github.com/apache/trafficcontrol/actions/workflows/tm.unit.tests.yml?query=branch%3Amaster) [![Codecov](https://codecov.io/gh/apache/trafficcontrol/branch/master/graph/badge.svg?flag=traffic_monitor_unit)](https://app.codecov.io/github/apache/trafficcontrol/tree/master/traffic_monitor) | [![TM Integration Tests](https://github.com/apache/trafficcontrol/workflows/TM%20Integration%20Tests/badge.svg)](https://github.com/apache/trafficcontrol/actions/workflows/tm.integration.tests.yml?query=branch%3Amaster) |
| T3C | [![T3C Unit Tests](https://github.com/apache/trafficcontrol/actions/workflows/cache-config.unit.tests.yml/badge.svg?branch=master)](https://github.com/apache/trafficcontrol/actions/workflows/cache-config.unit.tests.yml?query=branch%3Amaster) [![Codecov](https://codecov.io/gh/apache/trafficcontrol/branch/master/graph/badge.svg?flag=t3c_unit)](https://app.codecov.io/github/apache/trafficcontrol/tree/master/cache-config) | [![T3C Integration Tests](https://github.com/apache/trafficcontrol/workflows/T3C%20Integration%20Tests/badge.svg)](https://github.com/apache/trafficcontrol/actions/workflows/cache-config-tests.yml?query=branch%3Amaster) |
Expand Down

0 comments on commit ad0d6f5

Please sign in to comment.