-
Notifications
You must be signed in to change notification settings - Fork 0
26 lines (26 loc) · 957 Bytes
/
github-actions.yml
File metadata and controls
26 lines (26 loc) · 957 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: GitHub Actions
run-name: 🚀 ${{ github.actor }} triggered pipeline for the ${{ github.ref }} branch in the ${{ github.repository }} repository.
on: [ push ]
jobs:
CI-Pipeline-Backend:
runs-on: ubuntu-latest
steps:
- name: Show github event and target platform
run: echo "🎉 Job was triggered by the ${{ github.event_name }} event and is running on a ${{ runner.os }} server."
- name: Check out repository
uses: actions/checkout@v3
- name: Setup Java version
uses: actions/setup-java@v3
with:
distribution: 'oracle'
java-version: '17'
- name: Install maven
working-directory: ./backend
run: mvn install
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- name: Run tests
working-directory: ./backend
run: mvn test
- run: echo "🍏 This job's status is ${{ job.status }}."