Skip to content

Commit

Permalink
Add basic test
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems committed Dec 25, 2023
1 parent 238a66a commit b97f2d3
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: build
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:

jobs:
test-basic:
name: Test basic
runs-on: ubuntu-latest
steps:
- name: Checkout the Git repository
uses: actions/checkout@v4
- uses: ./
with:
setup: |
touch /foo
run: |
if ! [ -f /foo ]; then
echo "::error::/foo missing, did setup not run?"
exit 1
fi

0 comments on commit b97f2d3

Please sign in to comment.