Skip to content

Commit

Permalink
Merge pull request #875 from uber/ga-fix
Browse files Browse the repository at this point in the history
consolidate lint and unit test for clarity
  • Loading branch information
edwinnglabs authored Jul 10, 2024
2 parents 489ffd1 + 18fc14e commit 14fdb74
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 19 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/black.yaml

This file was deleted.

18 changes: 12 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
name: Build and Test

on:
workflow_run:
workflows: [Lint]
types: [completed]
on: [push]

jobs:
on_success:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: psf/black@stable
with:
options: "--check --verbose --color"
jupyter: true

unit_tests:
# [macos-latest, macos-latest, windows-latest]
runs-on: ubuntu-latest
needs: lint
strategy:
# You can use PyPy versions in python-version.
# For example, pypy2 and pypy3
matrix:
python-version: [3.9]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down

0 comments on commit 14fdb74

Please sign in to comment.