generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 1
46 lines (40 loc) · 1.1 KB
/
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
41
42
43
44
45
46
name: 'build-test'
on:
pull_request:
push:
branches:
- main
- 'releases/*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm ci
- run: npm run all
test:
needs: build
if: ${{ github.repository_owner == 'dennisameling' && github.actor != 'dependabot[bot]' }}
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 1
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v3
- name: test with testFolder
uses: ./
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USER }}
password: ${{ secrets.FTP_PASSWORD }}
local_dir: dummydata/testFolder/
server_dir: ${{ matrix.os }}/
- name: test with testFolderRecursive
uses: ./
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USER }}
password: ${{ secrets.FTP_PASSWORD }}
local_dir: dummydata/testFolderRecursive/
server_dir: ${{ matrix.os }}/