-
Notifications
You must be signed in to change notification settings - Fork 3
40 lines (34 loc) · 1.21 KB
/
integration-test.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
name: Integration test
on:
schedule:
- cron: '20 2 * * 0' # 2:20 on Sunday
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ 'ubuntu-latest', 'windows-latest' ]
node_version: [ '18' ]
architecture: [ 'x64' ]
name: Integration testing on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
architecture: ${{ matrix.architecture }}
- name: Install dependencies
run: npm ci
- name: Run integration test
run: npm run integration-test
env:
BARION_POS_KEY: ${{ secrets.BARION_POS_KEY }}
BARION_USER_NAME: ${{ secrets.BARION_USER_NAME }}
BARION_PASSWORD: ${{ secrets.BARION_PASSWORD }}
BARION_ACCOUNT_ID: ${{ secrets.BARION_ACCOUNT_ID }}
BARION_CALLBACK_URL: ${{ secrets.BARION_CALLBACK_URL }}
BARION_REDIRECT_URL: ${{ secrets.BARION_REDIRECT_URL }}
BARION_STATEMENT_YEAR: ${{ secrets.BARION_STATEMENT_YEAR }}
BARION_STATEMENT_MONTH: ${{ secrets.BARION_STATEMENT_MONTH }}