Makefile 454 B

123456789101112131415161718192021222324
  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. nginx:
  11. podman-compose up -d nginx
  12. clean:
  13. podman-compose down
  14. getsnapshot:
  15. rm -rf /opt/OliveTin-snapshot/*
  16. gh run download -D /opt/OliveTin-snapshot/
  17. .PHONY: default