Skip to content

將chat合併到development #106

將chat合併到development

將chat合併到development #106

Workflow file for this run

name: Workflow for Codecov java maven
on: [push, pull_request]
env:
NA_DB_URL: 'jdbc:mariadb://localhost:3306/NA'
NA_DB_USER: 'NA'
NA_DB_PASSWORD: 'NA'
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v1
with:
java-version: 21
- name: Start MariaDB
uses: getong/mariadb-action@v1.1
with:
mysql database: 'NA'
mysql user: 'NA'
mysql password: 'NA'
- name: Install dependencies
run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- name: Run tests and collect coverage
run: mvn -B test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4-beta
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}