Skip to content

Commit

Permalink
Migrate workflow "test-system-test" to Github Actions
Browse files Browse the repository at this point in the history
remove joibs
  • Loading branch information
esolitos authored and gitbutler-client committed Aug 15, 2024
1 parent 356fe9d commit 478192f
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 61 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Test

on:
push:
branches:
- master

pull_request:
branches:
- master

defaults:
run:
# Specify to ensure "pipefail and errexit" are set.
# Ref: https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#defaultsrunshell
shell: bash

jobs:
test:
runs-on: ubuntu-latest
container:
image: docker.io/vespaengine/vespa-build-almalinux-8:latest

env:
RUBYLIB: ${{ github.workspace }}/lib

steps:
- uses: actions/checkout@v4

- name: require-test-files
run: |
export VESPA_FACTORY_NO_AUTORUNNER=1
for FILE in $(find tests -name "*.rb"); do
ruby -I lib -I tests -I . -e "require '$FILE'"
done
- name: run-unit-tests
run: |
set -e
cd ${RUBYLIB}
ruby test/testrunner.rb
exit $?
61 changes: 0 additions & 61 deletions screwdriver.yaml

This file was deleted.

0 comments on commit 478192f

Please sign in to comment.