-
Notifications
You must be signed in to change notification settings - Fork 6
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
314913a
commit c638d3e
Showing
5 changed files
with
3 additions
and
59 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 |
---|---|---|
@@ -1,7 +1,6 @@ | ||
name: Pytest cron job | ||
name: pyatlan cron | ||
|
||
on: | ||
pull_request: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 1 * * *' # At 01:00 Daily | ||
|
@@ -39,24 +38,4 @@ jobs: | |
MARK_BASE_URL: https://mark.atlan.com | ||
run: | | ||
pytest tests/unit | ||
pytest tests/integration/connection_test.py --ignore tests/integration/data_mesh_test.py --store-durations | ||
- name: Check for changes in .test_durations | ||
if: success() | ||
run: | | ||
if [ -n "$(git diff --exit-code .test_durations)" ]; then | ||
echo "Changes detected in .test_durations" | ||
else | ||
echo "No changes in .test_durations, exiting." | ||
exit 78 # 78 is used as a custom exit code to skip subsequent steps | ||
fi | ||
- uses: actions/checkout@v3 | ||
- name: Commit and push test durations on success | ||
if: success() | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Actions" | ||
git add .test_durations | ||
git commit -m "Update test durations" | ||
git push | ||
pytest tests/integration --ignore tests/integration/data_mesh_test.py |
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
This file was deleted.
Oops, something went wrong.
File renamed without changes.