diff --git a/.github/workflows/Dependency.yml b/.github/workflows/Dependency.yml new file mode 100644 index 00000000..3ef7599e --- /dev/null +++ b/.github/workflows/Dependency.yml @@ -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."