Makefile 571 B

123456789101112131415161718192021222324252627
  1. default: test-install test-run
  2. test-install:
  3. npm install --no-fund
  4. test-run:
  5. # GitHub Actions fails badly on the default timeout of 2000ms
  6. npx mocha tests --recursive -t 10000
  7. find-flakey-tests:
  8. echo "Running test-run infinately"
  9. sh -c "while make test-run; do :; done"
  10. find-flakey-tests-inf: test-install
  11. node scripts/find-flakey-tests-inf.mjs
  12. nginx:
  13. podman-compose up -d nginx
  14. clean:
  15. podman-compose down
  16. getsnapshot:
  17. rm -rf /opt/OliveTin-snapshot/*
  18. gh run download -D /opt/OliveTin-snapshot/
  19. .PHONY: default find-flakey-tests find-flakey-tests-inf