WoodOxen / tactics2d

Tactics2D: A Reinforcement Learning Environment Library with Generative Scenarios for Driving Decision-making
https://tactics2d.readthedocs.io/en/latest/
GNU General Public License v3.0
165 stars 21 forks source link

💚 fix path dependencies in the workflow #52

Closed SCP-CN-001 closed 1 year ago

SCP-CN-001 commented 1 year ago

The test scripts failed because some paths to data files have changed. This PR fixed the path dependencies of data. GitHub has deprecated support for Ubuntu 18.04 in GitHub Action. The compatibility test is removed temporarily and will be recovered later.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 55.30% and project coverage change: -0.70% :warning:

Comparison is base (17a1cb7) 61.41% compared to head (eb0531e) 60.72%. Report is 15 commits behind head on dev.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## dev #52 +/- ## ========================================== - Coverage 61.41% 60.72% -0.70% ========================================== Files 51 51 Lines 2185 2233 +48 ========================================== + Hits 1342 1356 +14 - Misses 843 877 +34 ``` | [Files Changed](https://app.codecov.io/gh/WoodOxen/tactics2d/pull/52?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WoodOxen) | Coverage Δ | | |---|---|---| | [tactics2d/envs/racing.py](https://app.codecov.io/gh/WoodOxen/tactics2d/pull/52?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WoodOxen#diff-dGFjdGljczJkL2VudnMvcmFjaW5nLnB5) | `22.05% <0.00%> (ø)` | | | [tactics2d/map/generator/generate\_racing\_track.py](https://app.codecov.io/gh/WoodOxen/tactics2d/pull/52?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WoodOxen#diff-dGFjdGljczJkL21hcC9nZW5lcmF0b3IvZ2VuZXJhdGVfcmFjaW5nX3RyYWNrLnB5) | `16.66% <0.00%> (ø)` | | | [tactics2d/math/geometry.py](https://app.codecov.io/gh/WoodOxen/tactics2d/pull/52?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WoodOxen#diff-dGFjdGljczJkL21hdGgvZ2VvbWV0cnkucHk=) | `36.36% <0.00%> (ø)` | | | [tactics2d/scenario/render\_manager.py](https://app.codecov.io/gh/WoodOxen/tactics2d/pull/52?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WoodOxen#diff-dGFjdGljczJkL3NjZW5hcmlvL3JlbmRlcl9tYW5hZ2VyLnB5) | `18.18% <0.00%> (ø)` | | | [tactics2d/trajectory/element/trajectory.py](https://app.codecov.io/gh/WoodOxen/tactics2d/pull/52?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WoodOxen#diff-dGFjdGljczJkL3RyYWplY3RvcnkvZWxlbWVudC90cmFqZWN0b3J5LnB5) | `62.50% <0.00%> (ø)` | | | [tactics2d/map/generator/generate\_parking\_lot.py](https://app.codecov.io/gh/WoodOxen/tactics2d/pull/52?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WoodOxen#diff-dGFjdGljczJkL21hcC9nZW5lcmF0b3IvZ2VuZXJhdGVfcGFya2luZ19sb3QucHk=) | `15.88% <5.71%> (-3.04%)` | :arrow_down: | | [tactics2d/envs/parking.py](https://app.codecov.io/gh/WoodOxen/tactics2d/pull/52?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WoodOxen#diff-dGFjdGljczJkL2VudnMvcGFya2luZy5weQ==) | `24.84% <13.04%> (-0.50%)` | :arrow_down: | | [tactics2d/participant/element/vehicle.py](https://app.codecov.io/gh/WoodOxen/tactics2d/pull/52?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WoodOxen#diff-dGFjdGljczJkL3BhcnRpY2lwYW50L2VsZW1lbnQvdmVoaWNsZS5weQ==) | `84.05% <33.33%> (ø)` | | | [tactics2d/scenario/scenario\_manager.py](https://app.codecov.io/gh/WoodOxen/tactics2d/pull/52?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WoodOxen#diff-dGFjdGljczJkL3NjZW5hcmlvL3NjZW5hcmlvX21hbmFnZXIucHk=) | `40.81% <50.00%> (ø)` | | | [tactics2d/map/element/map.py](https://app.codecov.io/gh/WoodOxen/tactics2d/pull/52?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WoodOxen#diff-dGFjdGljczJkL21hcC9lbGVtZW50L21hcC5weQ==) | `71.95% <53.84%> (+2.61%)` | :arrow_up: | | ... and [12 more](https://app.codecov.io/gh/WoodOxen/tactics2d/pull/52?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=WoodOxen) | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.