mirror of
https://github.com/markusressel/zfs-inplace-rebalancing
synced 2026-02-04 21:14:09 +00:00
* add(ignore): ignore of .vscode file add the vscode config file to gitignore * add(test): add set of test - test 1000 1Ko file - test 5 1 Go file - test whit both * fix: spellcheck prevent wordspliting * fix: remove of db remove the db before testing for more accurate time * fix: time in macOS and freeBSD - use of gdate (coreutils) for macOS - switch to `ns` in place of `ms` for freeBSD
48 lines
816 B
YAML
48 lines
816 B
YAML
# Test
|
|
|
|
name: Test
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
linuxTest:
|
|
name: Test on Linux
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Run testing script
|
|
run: ./testing.sh
|
|
|
|
macOsTest:
|
|
name: Test on macOS
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install coreutils
|
|
run: brew install coreutils
|
|
|
|
- name: Run testing script on macOS
|
|
run: ./testing.sh
|
|
|
|
FreeBSDTest:
|
|
name: Test on FreeBSD
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Test in FreeBSD
|
|
id: test
|
|
uses: vmactions/freebsd-vm@v1
|
|
with:
|
|
usesh: true
|
|
prepare: |
|
|
pkg install -y bash
|
|
run: |
|
|
./testing.sh |