-
Notifications
You must be signed in to change notification settings - Fork 21
41 lines (37 loc) · 1007 Bytes
/
integration.yml
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Integration test
on:
push:
branches:
- main
pull_request:
jobs:
Test:
runs-on: ubuntu-latest
permissions:
packages: read
statuses: write
checks: write
contents: read
container:
image: ghcr.io/langproc/langproc-2022-cw/environment:v1.0.0
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- name: Build and test
id: test
timeout-minutes: 1
run: |
./test.sh
- name: Perm issue fix
if: success() || failure()
run: git config --global --add safe.directory "/__w/${{ github.event.repository.name }}/${{ github.event.repository.name }}"
- name: Upload test results
uses: dorny/test-reporter@v1
if: success() || failure()
with:
name: Test results
path: bin/junit_results.xml
reporter: java-junit
fail-on-error: false