Skip to content

Commit

Permalink
Remove tests for now to avoid wasting GH compute and fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilwoodruff committed Dec 4, 2024
1 parent f369a8c commit 647e592
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 44 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions .github/build_and_publish/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ steps:
args: [
'build',
'-t', '${_REGION}-docker.pkg.dev/${PROJECT_ID}/${_REPOSITORY_NAME}/${_IMAGE_NAME}:${_TAG}',
'-f', '.github/build_and_publish/Dockerfile',
'.'
]

Expand Down
46 changes: 2 additions & 44 deletions .github/workflows/pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,6 @@ on:
branches: [main]

jobs:
lint:
runs-on: ubuntu-latest
name: Lint
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black
- name: Check formatting
run: black . -l 79 --check
check-version:
name: Check version
runs-on: ubuntu-latest
Expand Down Expand Up @@ -70,33 +55,6 @@ jobs:
- name: Build and push to Cloud Build
run: |
gcloud builds submit \
--config=cloudbuild.yaml
env:
PROJECT_ID: policyengine-research
test:
name: Build and test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for all tags and branches
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install package
run: make install
- name: Download data inputs
run: make download
env:
HUGGING_FACE_TOKEN: ${{ secrets.HUGGING_FACE_TOKEN }}
POLICYENGINE_US_DATA_GITHUB_TOKEN: ${{ secrets.POLICYENGINE_US_DATA_GITHUB_TOKEN }}
- name: Build datasets
run: make data
--config=.github/build_and_publish/cloudbuild.yaml
env:
LITE_MODE: true
- name: Run tests
run: pytest
- name: Test documentation builds
run: make documentation
PROJECT_ID: policyengine-research

0 comments on commit 647e592

Please sign in to comment.