Skip to content

Commit

Permalink
Combine pr jobs and adds branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
Aryamanz29 committed Jan 23, 2024
1 parent f21dbd1 commit 4d17788
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 18 deletions.
20 changes: 2 additions & 18 deletions .github/workflows/pyatlan-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
workflow_dispatch:

jobs:
pyatlan-qa-checks:
pyatlan-qa-checks-and-unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -24,22 +24,6 @@ jobs:
run: |
./qa-checks
pyatlan-unit-tests:
runs-on: ubuntu-latest
needs: pyatlan-qa-checks
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9

- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi
- name: Run unit tests
env: # Test tenant environment variables
ATLAN_API_KEY: ${{ secrets.ATLAN_API_KEY }}
Expand All @@ -50,7 +34,7 @@ jobs:

pyatlan-integration-tests:
runs-on: ubuntu-latest
needs: [pyatlan-qa-checks, pyatlan-unit-tests]
needs: [pyatlan-qa-checks-and-unit-tests]
strategy:
fail-fast: false
matrix:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pytest-cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
- name: Commit and push test durations on success
if: success()
- uses: actions/checkout@v3
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
Expand Down

0 comments on commit 4d17788

Please sign in to comment.