mirror of https://github.com/deajan/osync
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
714 B
YAML
30 lines
714 B
YAML
name: windows-tests
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [windows-latest]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: Vampire/setup-wsl@v1
|
|
with:
|
|
additional-packages:
|
|
dos2unix
|
|
rsync
|
|
openssh-server
|
|
- name: Execute tests and generate coverage report
|
|
shell: wsl-bash {0}
|
|
run: |
|
|
export RUNNING_ON_GITHUB_ACTIONS=true
|
|
export SSH_PORT=22
|
|
find . -type f -not -path ".git/*" -print0 | xargs -0 -n 1 -P 4 dos2unix
|
|
service ssh start
|
|
./dev/tests/run_tests.sh
|
|
- name: Upload Coverage to Codecov
|
|
uses: codecov/codecov-action@v1
|