diff --git a/.github/workflows/check_export.yml b/.github/workflows/check_export.yml index 5481cf6d..ab21a56a 100644 --- a/.github/workflows/check_export.yml +++ b/.github/workflows/check_export.yml @@ -6,7 +6,7 @@ on: branches: [ main ] jobs: - check-requirements: + check-export: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/check_requirements.yml b/.github/workflows/check_requirements.yml deleted file mode 100644 index 1f471301..00000000 --- a/.github/workflows/check_requirements.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: check-requirements -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -jobs: - check-requirements: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - run: | - RC=0 - for f in $(ls -1); do - if [[ -d $f ]]; then - if [[ ! -f $f/requirements.txt ]]; then - echo "$f/requirements.txt is MISSING" - RC=1 - continue - fi - if !( grep -w "^reflex" $f/requirements.txt >/dev/null 2>&1 ); then - echo "$f/requirements.txt does not contain 'reflex'" - RC=1 - continue - fi - fi - done - exit $RC