Skip to content

Commit

Permalink
Check for codespaces environment
Browse files Browse the repository at this point in the history
  • Loading branch information
nocarryr authored Nov 18, 2023
1 parent 538616e commit b2b7c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from _test_video_frame import build_test_frames

IS_CI_BUILD = os.environ.get('CI') == 'true'
IS_CI_BUILD = 'true' in [os.environ.get(key) for key in ['CI', 'CODESPACES']]

AudioParams = namedtuple('AudioParams', [
'sample_rate', 'num_channels', 'num_samples', 'num_segments', 's_perseg',
Expand Down

0 comments on commit b2b7c44

Please sign in to comment.