From b5e7d130190008e091e679a1bf72926cb83da2f9 Mon Sep 17 00:00:00 2001 From: jacquelynsmale Date: Wed, 20 Mar 2024 11:35:37 -0800 Subject: [PATCH] switch around some tsts --- .github/workflows/call-version.yml | 17 +++++++++++++++++ .github/workflows/test.yml | 29 +++++++++++------------------ 2 files changed, 28 insertions(+), 18 deletions(-) create mode 100644 .github/workflows/call-version.yml diff --git a/.github/workflows/call-version.yml b/.github/workflows/call-version.yml new file mode 100644 index 0000000..6834efd --- /dev/null +++ b/.github/workflows/call-version.yml @@ -0,0 +1,17 @@ +name: Test + +on: + push: + branches: + - main + - develop + pull_request: + branches: + - main + - develop + +jobs: + call-version-info-workflow: + # Docs: https://github.com/ASFHyP3/actions + uses: ASFHyP3/actions/.github/workflows/reusable-version-info.yml@v0.11.0 + diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1c42dfc..d4d0edd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,23 +1,16 @@ -name: Test +name: Test with pytest -on: - push: - branches: - - main - - develop - pull_request: - branches: - - main - - develop +on: push jobs: - call-pytest-workflow: - # Docs: https://github.com/ASFHyP3/actions - uses: ASFHyP3/actions/.github/workflows/reusable-pytest.yml@v0.11.0 - with: - local_package_name: back-projection + pytest: + runs-on: ubuntu-latest - call-version-info-workflow: - # Docs: https://github.com/ASFHyP3/actions - uses: ASFHyP3/actions/.github/workflows/reusable-version-info.yml@v0.11.0 + steps: + - uses: actions/checkout@v4 + - uses: mamba-org/provision-with-micromamba@v16 + + - shell: bash -l {0} + run: | + make pytest