diff --git a/.github/workflows/selenium-test.yml b/.github/workflows/selenium-test.yml index f91ed1c..5d58b98 100644 --- a/.github/workflows/selenium-test.yml +++ b/.github/workflows/selenium-test.yml @@ -12,19 +12,19 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up JDK 11 - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: # https://github.com/actions/setup-java#supported-distributions distribution: 'microsoft' java-version: 11 - name: Set up Node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: '16.x' + node-version: '20.x' registry-url: 'https://registry.npmjs.org' - name: Start containers @@ -63,7 +63,7 @@ jobs: mvn test --no-transfer-progress - name: Archive screen shots - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Screenshots path: svjis-selenium/target/*.png diff --git a/docker-compose/create-schema.sh b/docker-compose/create-schema.sh index 8def6b4..9f13d6e 100644 --- a/docker-compose/create-schema.sh +++ b/docker-compose/create-schema.sh @@ -1,8 +1,9 @@ USER=sysdba PASSWORD=change-it -HOST=svjis_db +HOST=localhost DATABASE=SVJIS_PRODUCTION +sleep 1s /usr/local/firebird/bin/isql -user "$USER" -password "$PASSWORD" -input '/firebird/database.sql' "$HOST:$DATABASE" rm /firebird/database.sql echo "EXECUTE PROCEDURE SP_CREATE_COMPANY 'New Company'; COMMIT;" > /firebird/comp.sql