mirror of
https://github.com/pcvolkmer/onkostar-plugin-dnpm.git
synced 2025-07-02 01:02:55 +00:00
33 lines
972 B
YAML
33 lines
972 B
YAML
name: 'Run Tests'
|
|
|
|
on:
|
|
push:
|
|
branches: [ 'master' ]
|
|
tags: [ '*' ]
|
|
pull_request:
|
|
branches: [ '*' ]
|
|
|
|
jobs:
|
|
tests:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-java@v4
|
|
with:
|
|
java-version: '11'
|
|
distribution: 'temurin'
|
|
|
|
- name: Fetch Onkostar-API
|
|
run: |
|
|
curl -L --user dnpm:${{ secrets.PACKAGE_TOKEN }} \
|
|
https://git.dnpm.dev/api/packages/Plugin-JF-Onkostar/generic/onkostar-api/2.12.4.1/onkostar-api-2.12.4.1.jar \
|
|
--output ${{ github.workspace }}/libs/onkostar-api-2.12.4.1.jar
|
|
|
|
- name: Fetch ATC-Codes-Plugin
|
|
run: |
|
|
curl -L \
|
|
https://github.com/CCC-MF/onkostar-plugin-atccodes/releases/download/v0.6.0/onkostar-plugin-atccodes-0.6.0.jar \
|
|
--output ${{ github.workspace }}/libs/onkostar-plugin-atccodes-0.6.0.jar
|
|
|
|
- name: Execute tests
|
|
run: mvn --batch-mode verify |