mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Added workflow todos
This commit is contained in:
32
.github/workflows/test-cli.yml
vendored
Normal file
32
.github/workflows/test-cli.yml
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
name: Build & Test CyMaIS CLI in Docker Container
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
build-and-test:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build Docker image
|
||||
run: |
|
||||
docker build -t cymais:latest .
|
||||
|
||||
- name: Clean build artifacts
|
||||
run: |
|
||||
docker run --rm cymais:latest make clean
|
||||
|
||||
- name: Generate project outputs
|
||||
run: |
|
||||
docker run --rm cymais:latest make build
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
docker run --rm cymais:latest make test
|
Reference in New Issue
Block a user