From 692dd77a2a1f6df8caa0b94116304c6fc8946cc7 Mon Sep 17 00:00:00 2001 From: Victor Bodinaud Date: Fri, 22 Mar 2024 15:10:31 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Adding=20CI=20for=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/hermes.yml | 22 ++++++++++++++++++++++ .gitignore | 1 + 2 files changed, 23 insertions(+) create mode 100644 .gitea/workflows/hermes.yml diff --git a/.gitea/workflows/hermes.yml b/.gitea/workflows/hermes.yml new file mode 100644 index 0000000..002b2cc --- /dev/null +++ b/.gitea/workflows/hermes.yml @@ -0,0 +1,22 @@ +name: Run Swift Tests + +on: + push: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Setup Swift + uses: swift-actions/setup-swift@v2 + + - name: Get swift version + run: swift --version + + - name: Build and test + run: | + swift test diff --git a/.gitignore b/.gitignore index 0023a53..830a632 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ .DS_Store /.build +/.vscode /Packages xcuserdata/ DerivedData/