-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9616189
commit 73189e0
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: 'lts' | ||
- | ||
name: 🩺 Test Software | ||
run: | ||
npm clean-install | ||
npm test | ||
|
||
... |