From 8fca01d8811482542a498c9e0feeb7ae431afead Mon Sep 17 00:00:00 2001 From: Guen Prawiroatmodjo Date: Wed, 8 Jan 2025 17:23:17 -0800 Subject: [PATCH] remove package build/test build steps --- .github/workflows/nightly.yml | 82 ----------------------------------- 1 file changed, 82 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 5cecf38f..22e0092d 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -66,85 +66,3 @@ jobs: with: name: unit_results_${{ matrix.python-version }}-${{ steps.date.outputs.date }}.csv path: unit_results.csv - - build: - name: build packages - - runs-on: ubuntu-latest - - steps: - - name: Check out the repository - uses: actions/checkout@v4 - with: - persist-credentials: false - - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: '3.11' - - - name: Install python dependencies - run: | - pip install --upgrade setuptools wheel twine check-wheel-contents - pip --version - - name: Build distributions - run: ./scripts/build-dist.sh - - - name: Show distributions - run: ls -lh dist/ - - - name: Check distribution descriptions - run: | - twine check dist/* - - name: Check wheel contents - run: | - check-wheel-contents dist/*.whl --ignore W002,W007,W008 - - - uses: actions/upload-artifact@v3 - with: - name: dist - path: dist/ - - test-build: - name: verify packages / python ${{ matrix.python-version }} / ${{ matrix.os }} - - needs: build - - runs-on: ${{ matrix.os }} - - strategy: - fail-fast: false - matrix: - os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ['3.9', '3.10', '3.11', '3.12'] - - steps: - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - - - name: Install python dependencies - run: | - pip install --upgrade wheel - pip --version - - uses: actions/download-artifact@v3 - with: - name: dist - path: dist/ - - - name: Show distributions - run: ls -lh dist/ - - - name: Install wheel distributions - run: | - find ./dist/*.whl -maxdepth 1 -type f | xargs pip install --force-reinstall --find-links=dist/ - - name: Check wheel distributions - run: | - dbt --version - - name: Install source distributions - run: | - find ./dist/*.gz -maxdepth 1 -type f | xargs pip install --force-reinstall --find-links=dist/ - - name: Check source distributions - run: | - dbt --version