Skip to content

Commit

Permalink
test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nalajcie committed Feb 15, 2024
1 parent a6227d4 commit b250eef
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# vim:sw=2:ts=2
name: test

on:
workflow_call:
push:
branches:
- master
- 'feature/*'
- 'nalajcie/ci'
pull_request:
branches:
- master
- 'feature/*'
- 'nalajcie/ci'

jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: 'random to file'
run: echo "$((RANDOM % 10))" > random_value


- name: "test random"
run: '[ "$(random_value" -neq 0 ]'

- name: Debug failures by SSH
if: ${{ failure() }}
uses: mxschmitt/action-tmate@v3

0 comments on commit b250eef

Please sign in to comment.