Skip to content

update readme

update readme #19

#
# Copyright 2021 OmniFaces
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
# an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
# specific language governing permissions and limitations under the License.
#
name: jakartified
on:
push:
branches: [ jakartified ]
pull_request:
branches: [ jakartified ]
jobs:
test:
name: Run tests on ${{matrix.server}}
runs-on: ubuntu-latest
continue-on-error: true
strategy:
matrix:
server: [wildfly-hibernate, wildfly-eclipselink, glassfish-hibernate, glassfish-eclipselink, tomee-openjpa]
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
cache: maven
- name : Set up MySQL
run: |
sudo /etc/init.d/mysql start
mysql -u root -proot -e 'CREATE DATABASE test;'
- name : Set up PostgreSQL
run: |
sudo systemctl start postgresql.service
sudo -u postgres psql postgres -c "CREATE DATABASE test;"
sudo -u postgres psql postgres -c "CREATE USER test WITH ENCRYPTED PASSWORD 'test';"
sudo -u postgres psql postgres -c "GRANT ALL PRIVILEGES ON DATABASE test TO test;"
- name: Test with Maven
run: mvn verify -Dmaven.javadoc.skip=true -P ${{matrix.server}}