diff --git a/.gitea/workflows/cargo-test.yml b/.gitea/workflows/cargo-test.yml new file mode 100644 index 0000000..77ee916 --- /dev/null +++ b/.gitea/workflows/cargo-test.yml @@ -0,0 +1,23 @@ +name: Test the running changes + +on: + push: + branches: [ "dev" ] + #pull_request: + # branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + test: + name: Test + runs-on: rust-latest + + steps: + #- run: apt-get update -y + #- uses: actions/checkout@v6 + - run: git clone https://git.jlux.dev/${{ gitea.repository }} . && git checkout ${{ gitea.ref_name }} + - run: cargo build --verbose + - run: cargo clippy -- -D warnings + - run: cargo test --verbose