Skip to content

Commit

Permalink
add workflow file for GLMakie and JustPIC (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
aelligp authored Mar 25, 2024
1 parent 2d908ee commit 9f386c0
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/Dependency.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Check Dependencies

on: [push, pull_request]

jobs:
check_dependencies:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Check for GLMakie and JustPIC dependencies
run: |
if grep -q "GLMakie" ./Project.toml; then
echo "GLMakie dependency found, failing the test."
exit 1
fi
if grep -q "JustPIC" ./Project.toml; then
echo "JustPIC dependency found, failing the test."
exit 1
fi
echo "Neither GLMakie nor JustPIC dependencies found."

0 comments on commit 9f386c0

Please sign in to comment.