diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/test.yaml similarity index 52% rename from .gitea/workflows/demo.yaml rename to .gitea/workflows/test.yaml index aa1e6fe..9c1b9c9 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/test.yaml @@ -1,9 +1,9 @@ -name: Gitea Actions Demo -run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 +name: Verification +run-name: ${{ gitea.actor }} runs verification of the project on: [push] jobs: - Explore-Gitea-Actions: + Is-Buildable: runs-on: ubuntu-latest steps: - name: Ensure That Build system available @@ -15,22 +15,17 @@ jobs: python3 -m venv ~/py/ source ~/py/bin/activate pip install meson - - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" - - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." - name: Check out repository code uses: actions/checkout@v4 with: submodules: 'true' - - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - - run: echo "🖥️ The workflow is now ready to test your code on the runner." - - name: List files in the repository - run: | - ls ${{ gitea.workspace }} - name: Build project run: | cd ${{ gitea.workspace }} source ~/py/bin/activate meson setup build meson compile -C build + - name: Unit Test Results + run: | + meson test -C build - run: echo "🍏 This job's status is ${{ job.status }}."