Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[CI-Tests] Coverage, acceleration, and Windows #785

@minouHub

Description

@minouHub

There are three tasks related to CI on Travis.

Tests on Windows

When performing a PR we test RADIS on

  • Linux Python 3.10
  • Linux Python 3.11

When merging develop to master, we also test

To make sure we do not release a new version that fails on Windows, the following test must be added when merging develop to master,

  • Windows, Python 3.10

Reduce fetching error

  • Preload 1 HITRAN file (e.g. CO) to avoid downloading it
  • Make a separate test section called 'fetch test' to only try fetching on the external servers (HITRAN, NIST etc.)

Accelerate the tests

As of late August 2025, each list of tests executed on a single Python version costs approximately 7 minutes [EDITED]. Any solution to accelerate these tests would be great because 1/ we have to ask Travis for new free credits regularly and 2/ we have to wait to see the results of our PR. Potential to accelerate the tests:

  • Reduce time of install by leverage of the cache option of Travis https://docs.travis-ci.com/user/caching/
  • Find redondant tests (a function tested several times)
  • Find deprecated functions that are still tested
  • Reduce the number of databases that are downloaded (we just need to test once that our fetching functions are still working for each type of database)
  • Any suggestion to reduce the duration of the longer tests

Note: These actions should not reduce the test coverage.

Test coverage

Coverage can be tracked there: https://app.codecov.io/gh/radis/radis. See also https://radis.readthedocs.io/en/develop/dev/developer.html#code-coverage

  • Increase code coverage

Metadata

Metadata

Assignees

No one assigned

    Labels

    ci-devcontinum-integration, tests, and development workflow

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions