Skip to content

Commit

Permalink
Remove smoke test
Browse files Browse the repository at this point in the history
  • Loading branch information
donn committed Jan 14, 2024
1 parent 32963bf commit 8bdfed5
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 110 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ jobs:
cd appimage
export FAULT_IMAGE_NAME=ghcr.io/aucohl/fault:${{ steps.get_version.outputs.value }}
make
- name: Test AppImage
run: |
./appimage/Fault-x86_64.AppImage smoke-test
- name: Copy AppImage
run: |
cp ./appimage/Fault-x86_64.AppImage /tmp/Fault-${{ steps.get_version.outputs.value }}-x86_64.AppImage
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ jobs:
- name: Build Image
run: |
docker build --target runner -t aucohl/fault:latest .
- name: Run Smoke Test
run: |
docker run --rm -w /test aucohl/fault:latest python3 /test/smoke_test.py
- name: Check for new version
if: ${{ env.BRANCH_NAME == 'main' }}
run: |
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,14 @@ COPY . .
ENV CC=clang
ENV CXX=clang++
RUN swift build --static-swift-stdlib -c release
RUN swift test
RUN cp /fault/.build/x86_64-unknown-linux-gnu/release/Fault /build/bin/fault
WORKDIR /
# ---

FROM centos:centos7 AS runner
COPY --from=builder /build /build
WORKDIR /test
COPY ./Tests/smoke_test.py .
COPY ./Tests/RTL/spm/spm.v .
COPY ./Tech/osu035 ./osu035

WORKDIR /
Expand Down
100 changes: 0 additions & 100 deletions Tests/smoke_test.py

This file was deleted.

2 changes: 0 additions & 2 deletions appimage/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ $(APPIMAGE): squashfs-root/build/bin/fault appimagetool $(RESOURCES)
mkdir -p ./squashfs-root/test
cp ../Tests/RTL/spm/spm.v ./squashfs-root/test/spm.v
cp -r ../Tech/osu035 ./squashfs-root/test/osu035
cp ../Tests/smoke_test.py ./squashfs-root/test/smoke_test.py
./appimagetool ./squashfs-root
@./$(APPIMAGE) smoke-test && echo "> Smoke test successful." || echo "> Smoke test failed."

PREFIX ?= /usr/local
install:
Expand Down

0 comments on commit 8bdfed5

Please sign in to comment.