Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

split jobs in github action #219

Merged
merged 2 commits into from
Jan 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 18 additions & 9 deletions .github/workflows/manual-on-host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ on:
workflow_dispatch:
inputs:
name:
description: 'manually run build test'
description: 'manually run build and IO test'

jobs:
dataTest:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
Expand All @@ -15,7 +15,7 @@ jobs:
sudo sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list
sudo apt-get update
sudo apt-get build-dep -y partclone
sudo apt-get install -y f2fs-tools hfsprogs exfatprogs gddrescue libfuse-dev
sudo apt-get install -y f2fs-tools hfsprogs exfatprogs gddrescue libfuse-dev jfsutils reiser4progs hfsprogs hfsplus reiserfsprogs
- name: automake
run: ./autogen
- name: configure
Expand All @@ -24,6 +24,20 @@ jobs:
run: make
- name: makeTest
run: make check
specialFeatureTest:
runs-on: self-hosted
needs: build
steps:
- name: fuse Test
if: always()
run: cd tests && sudo ./imgfuse.test && cd ../ && pwd
- name: offset Test
if: always()
run: cd tests && sudo ./offset.test && cd ../ && pwd
dataIOTest:
runs-on: self-hosted
needs: build
steps:
- name: btrfs Data Test
if: always()
run: cd tests && sudo env SOURCEPART="/dev/vdb1" env TARGETPART="/dev/vdb2" bash -x ./data_clone_restore_test btrfs && cd ../ && pwd
Expand Down Expand Up @@ -60,9 +74,4 @@ jobs:
- name: minix Data Test
if: always()
run: cd tests && sudo env SOURCEPART="/dev/vdb1" env TARGETPART="/dev/vdb2" bash -x ./data_clone_restore_test minix && cd ../ && pwd
- name: fuse Test
if: always()
run: cd tests && sudo ./imgfuse.test && cd ../ && pwd
- name: offset Test
if: always()
run: cd tests && sudo ./offset.test && cd ../ && pwd