Skip to content

Commit

Permalink
edit workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nkrusch committed Sep 1, 2024
1 parent 3d80202 commit 798b36e
Showing 1 changed file with 21 additions and 17 deletions.
38 changes: 21 additions & 17 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,24 @@ on:
- cron: '0 0 1 * *'
workflow_dispatch:
branches: [ main ]

push:
branches: [ main ]

jobs:
container_test:
name: Docker build test
runs-on: ubuntu-20.04
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
ref: 'artifact'
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build
uses: docker/build-push-action@v6
# container_test:
# name: Docker build test
# runs-on: ubuntu-20.04
# steps:
# - name: Checkout repo
# uses: actions/checkout@v4
# with:
# ref: 'artifact'
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v3
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3
# - name: Build
# uses: docker/build-push-action@v6
exec_test:
name: Runtime test
runs-on: ubuntu-20.04
Expand All @@ -30,5 +32,7 @@ jobs:
uses: actions/checkout@v4
with:
ref: 'main'
- run: apt update -y && apt install -y build-essential git bc software-properties-common
- run: make small
- run: |
sudo apt update -y
sudo apt install -y build-essential git bc software-properties-common
make small

0 comments on commit 798b36e

Please sign in to comment.