feat: Updates to ci workflow files.
All checks were successful
CI / Linux Tests (push) Successful in 6m51s

This commit is contained in:
2026-02-11 08:14:17 -05:00
parent 86f08a4bb2
commit 729dc0ac55
3 changed files with 97 additions and 1 deletions

31
.github/workflows/ci.yaml vendored Normal file
View File

@@ -0,0 +1,31 @@
name: CI
on:
push:
branches:
- main
- dev
pull_request:
workflow_dispatch:
jobs:
ubuntu:
name: Linux Tests
runs-on: ubuntu:latest
steps:
- uses: actions/checkout@v4
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
- name: Setup buildx
uses: docker/setup-buildx-action@v3
- name: Build test image
uses: docker/build-push-action@v6
with:
context: .
file: docker/Dockerfile.test
push: false
load: true
tags: ${{ github.repository_owner }}/ductcalc:test
- name: Run Tests
run: |
docker run --rm ${{ github.repository_owner }}/ductcalc:test swift test