-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (52 loc) · 1.27 KB
/
ci-processing.yml
File metadata and controls
54 lines (52 loc) · 1.27 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
name: lotus-test
on:
push:
branches:
- main
- feature-ci-*
pull_request:
branches:
- main
- feature-ci-*
jobs:
lotus-test:
name: lotus-${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [
'ubuntu-latest',
# 'macos-latest'
# 'windows-latest'
]
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v6
- uses: actions/setup-java@v5
with:
distribution: 'adopt-hotspot'
java-version: '17'
cache: 'gradle'
- uses: r-lib/actions/setup-r@v2
- uses: mamba-org/setup-micromamba@v2
with:
cache-downloads: true
cache-environment: true
environment-file: environment.yml
create-args: >-
python=3.11
- name: Create and populate .Renviron file
env:
CROSSREF_EMAIL: ${{ secrets.CROSSREF_EMAIL }}
run: |
touch .Renviron
echo crossref_email="$CROSSREF_EMAIL" >> .Renviron
- name: Run tests
env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
shell: bash -l {0}
run: |
bash tests/integration_test.sh