.drone.yml 448 B

123456789101112131415161718192021
  1. kind: pipeline
  2. name: default
  3. steps:
  4. - name: test
  5. image: debian:bullseye
  6. commands:
  7. - apt update -y
  8. - apt install -y python3-pip jython
  9. - pip3 install nose flake8
  10. # Core
  11. - export YTDL_TEST_SET=core
  12. - export JYTHON=true;
  13. - bash ./devscripts/run_tests.sh || true
  14. # Download
  15. - export YTDL_TEST_SET=download
  16. - export JYTHON=true;
  17. - bash ./devscripts/run_tests.sh || true
  18. # Check syntax
  19. - flake8 .