diff --git a/.github/workflows/black.yaml b/.github/workflows/black.yaml deleted file mode 100644 index 26b1a8af..00000000 --- a/.github/workflows/black.yaml +++ /dev/null @@ -1,13 +0,0 @@ -name: Lint - -on: [push] - -jobs: - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: psf/black@stable - with: - options: "--check --verbose --color" - jupyter: true diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 9ee2130a..05803514 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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 }}