Add unit testing

This commit is contained in:
Victor Bodinaud
2024-01-14 20:58:48 +01:00
parent 743530ef50
commit e1b86ee6c8
2 changed files with 74 additions and 6 deletions

19
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Hermes CI
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Swift
uses: fwal/setup-swift@v1
- name: Build
run: swift build
- name: Run tests
run: swift test