Skip to content

Commit

Permalink
new action
Browse files Browse the repository at this point in the history
  • Loading branch information
milkschen committed Feb 24, 2023
1 parent d1fb336 commit 7e278cf
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/workflow-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Workflow Test

on:
push:
branches: [ main ]
paths:
- '.github/**'
- 'workflow/leviosam2.py'
- 'workflow/workflow-test.py'
pull_request:
branches:
- 'main'
paths:
- '.github/**'
- 'workflow/leviosam2.py'
- 'workflow/workflow-test.py'

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release

jobs:
create-env:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -l {0}

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Run workflow-test
run: |
cd workflow
python workflow-test.py

0 comments on commit 7e278cf

Please sign in to comment.