From abe8b2a91e62dfba8f9b7d01a3594a336e2b5af1 Mon Sep 17 00:00:00 2001 From: hodasemi Date: Tue, 19 Sep 2023 11:27:11 +0200 Subject: [PATCH] Add actions file --- .gitea/workflows/pull_request.yaml | 20 ++++++++++++++++++++ .gitignore | 2 ++ 2 files changed, 22 insertions(+) create mode 100644 .gitea/workflows/pull_request.yaml diff --git a/.gitea/workflows/pull_request.yaml b/.gitea/workflows/pull_request.yaml new file mode 100644 index 0000000..8ab6949 --- /dev/null +++ b/.gitea/workflows/pull_request.yaml @@ -0,0 +1,20 @@ +name: Home Server Merge +run_name: Test successful home server build on merge request + +on: + pull_request: + types: [opened, reopened, edited, review_requested, synchronize] + +jobs: + Serial Reader: + steps: + - uses: https://github.com/actions/checkout@v3 + + - uses: https://github.com/dtolnay/rust-toolchain@stable + + - name: Build + run: cargo build + + - name: Test + run: cargo test + diff --git a/.gitignore b/.gitignore index 5da5de5..95f30cd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ /target Cargo.lock +test_devices.conf + *.db \ No newline at end of file