diff --git a/.github/workflows/ci_frontend.yml b/.github/workflows/ci_frontend.yml deleted file mode 100644 index d8cd09cf..00000000 --- a/.github/workflows/ci_frontend.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Clockwork frontend tests - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - workflow_dispatch: - -jobs: - clockwork-frontend-tests: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Launch docker - run: docker build -t clockwork_dev -f clockwork_dev.Dockerfile . - - name: Launch frontend tests - run: | - . ./env.sh - docker-compose run clockwork_dev clockwork_frontend_test/launch_frontend_tests_in_clockwork_dev.sh diff --git a/clockwork_frontend_test/launch_frontend_tests_in_clockwork_dev.sh b/clockwork_frontend_test/launch_frontend_tests_in_clockwork_dev.sh index ef2001b3..b8aa29bc 100755 --- a/clockwork_frontend_test/launch_frontend_tests_in_clockwork_dev.sh +++ b/clockwork_frontend_test/launch_frontend_tests_in_clockwork_dev.sh @@ -12,7 +12,7 @@ python3 -m flask run --host="0.0.0.0" & echo Wait 5 seconds to let server fully start sleep 5 -echo Check that server is onlinw +echo Check that server is online python -c "import urllib.request; print(urllib.request.urlopen('http://127.0.0.1:5000/').getcode())" echo Run tests