From 9258566b6f586d7b7e7016458b7ddd4b53a59408 Mon Sep 17 00:00:00 2001 From: jcschaff Date: Mon, 10 Jun 2024 13:06:52 -0400 Subject: [PATCH] upload generated wheels as artifacts --- .github/workflows/pip.yml | 14 ++++++++++---- .github/workflows/wheels.yml | 14 +++++++------- .gitignore | 2 ++ 3 files changed, 19 insertions(+), 11 deletions(-) diff --git a/.github/workflows/pip.yml b/.github/workflows/pip.yml index 51eb81f97..a44bdcbe0 100644 --- a/.github/workflows/pip.yml +++ b/.github/workflows/pip.yml @@ -2,10 +2,10 @@ name: "Pip" on: workflow_dispatch: -# pull_request: -# push: -# branches: -# - master + pull_request: + push: + branches: + - master jobs: build: @@ -135,6 +135,12 @@ jobs: pip install pytest pytest if: matrix.platform == 'windows-latest' + + - name: Upload wheels as build artifacts + uses: actions/upload-artifact@v2 + with: + name: wheels-${{ matrix.platform }} + path: dist/*.whl - name: Setup tmate session uses: mxschmitt/action-tmate@v3 diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index c6b059ab8..cc2b606e2 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -2,13 +2,13 @@ name: "Wheels" on: workflow_dispatch: - pull_request: - push: - branches: - - master - release: - types: - - published +# pull_request: +# push: +# branches: +# - master +# release: +# types: +# - published env: FORCE_COLOR: 3 diff --git a/.gitignore b/.gitignore index 2c0fede2f..b1311a3d5 100644 --- a/.gitignore +++ b/.gitignore @@ -17,5 +17,7 @@ /.idea/ /nfsim/ /all_solvers/* +/.venv/ +/venv/ .DS_Store