Skip to content

Commit

Permalink
[ci] remove unrelease dependencies check
Browse files Browse the repository at this point in the history
  • Loading branch information
andhit-r committed Nov 5, 2023
1 parent c2a160c commit 8fc0a6b
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ on:
- "14.0-ocabot-*"

jobs:
unreleased-deps:
runs-on: ubuntu-latest
name: Detect unreleased dependencies
steps:
- uses: actions/checkout@v2
- run: |
for reqfile in requirements.txt test-requirements.txt ; do
if [ -f ${reqfile} ] ; then
result=0
# reject non-comment lines that contain a / (i.e. URLs, relative paths)
grep "^[^#].*/" ${reqfile} || result=$?
if [ $result -eq 0 ] ; then
echo "Unreleased dependencies found in ${reqfile}."
exit 1
fi
fi
done
# unreleased-deps:
# runs-on: ubuntu-latest
# name: Detect unreleased dependencies
# steps:
# - uses: actions/checkout@v2
# - run: |
# for reqfile in requirements.txt test-requirements.txt ; do
# if [ -f ${reqfile} ] ; then
# result=0
# # reject non-comment lines that contain a / (i.e. URLs, relative paths)
# grep "^[^#].*/" ${reqfile} || result=$?
# if [ $result -eq 0 ] ; then
# echo "Unreleased dependencies found in ${reqfile}."
# exit 1
# fi
# fi
# done
test:
runs-on: ubuntu-22.04
container: ${{ matrix.container }}
Expand Down

0 comments on commit 8fc0a6b

Please sign in to comment.