From 3c3c5b6664d026b62ad4197b3a8823ca78ad94b7 Mon Sep 17 00:00:00 2001 From: MilesCranmer Date: Sun, 14 Aug 2022 13:27:44 -0400 Subject: [PATCH] Create workflow to test downstream packages --- .../workflows/test-downstream-packages.yml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/test-downstream-packages.yml diff --git a/.github/workflows/test-downstream-packages.yml b/.github/workflows/test-downstream-packages.yml new file mode 100644 index 00000000..0ed2fd07 --- /dev/null +++ b/.github/workflows/test-downstream-packages.yml @@ -0,0 +1,30 @@ +name: Test Downstream Packages + +on: + push: + branches: + - '*' + pull_request: + branches: + - '*' + +jobs: + test: + runs-on: ubuntu-latest + defaults: + run: + shell: bash + + steps: + - uses: actions/checkout@v3 + - name: "Set up Python" + uses: actions/setup-python@v1 + - name: "Check out PySR" + uses: actions/checkout@v3 + with: + repository: conda-forge/pysr-feedstock + path: pysr + - name: "Build PySR Package" + run: | + cd pysr + python build-locally.py