Skip to content

Commit

Permalink
Merge pull request #57 from NASA-PDS/devops#62
Browse files Browse the repository at this point in the history
Branch testing workflow
  • Loading branch information
jordanpadams authored Jul 24, 2024
2 parents a8d641b + ee31488 commit c366f1e
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/branch-cicd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# 🏃‍♀️ Continuous Integration and Delivery: Branch Testing
# ======================================================


---

name: 🔁 Branch integration testing


# Driving Event
# -------------
#
# What event starts this workflow: a push to any branch other than main

on:
push:
branches:
- '**'
- '!main'


# What to Do
# ----------
#
# Test the software with tox

jobs:
branch-testing:
name: 🪵 Branch Testing
runs-on: ubuntu-latest
if: github.actor != 'pdsen-ci'
steps:
-
name: 💳 Checkout
uses: actions/checkout@v3
with:
lfs: true
fetch-depth: 0
token: ${{secrets.ADMIN_GITHUB_TOKEN}}
-
name: 🟢 Setup up Node
uses: actions/setup-node@v4
with:
node-version: 'latest'
-
name: 🩺 Test Software
run:
npm clean-install
npm test

...

0 comments on commit c366f1e

Please sign in to comment.