Skip to content

Commit

Permalink
edit docker test
Browse files Browse the repository at this point in the history
  • Loading branch information
nkrusch committed Sep 1, 2024
1 parent 798b36e commit 6eece06
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,34 @@ on:
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'
container_test:
name: Docker build test
runs-on: ubuntu-20.04
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
ref: 'artifact'
- name: Sanity check
run: ls -l && docker --version
# - 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
steps:
- name: Checkout repo
- name: ⏹️ Cancel previous runs
uses: pierreraffa/[email protected]
- name: ⬇️ Checkout repository
uses: actions/checkout@v4
with:
ref: 'main'
- run: |
sudo apt update -y
sudo apt install -y build-essential git bc software-properties-common
make small
- name: ⚙️ Environment setup
run: sudo apt update -y && sudo apt install -y build-essential git bc software-properties-common
- name: ✴️ Run small test
run: make small

0 comments on commit 6eece06

Please sign in to comment.