feat: Adds ubuntu tests to ci
This commit is contained in:
10
.github/workflows/ci.yaml
vendored
10
.github/workflows/ci.yaml
vendored
@@ -20,3 +20,13 @@ jobs:
|
||||
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
|
||||
- name: Run ${{ matrix.xcode }} Tests for ${{ matrix.config }}
|
||||
run: swift test
|
||||
|
||||
ubuntu:
|
||||
name: ubuntu
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Build docker test image.
|
||||
run: docker build -t 'hvac-toolbox:test' -f Dockerfile.dev .
|
||||
- name: Run tests
|
||||
run: docker run -i 'hvac-toolbox:test' swift test
|
||||
|
||||
Reference in New Issue
Block a user