Skip to content

Commit

Permalink
do not use template
Browse files Browse the repository at this point in the history
  • Loading branch information
forrestfwilliams committed Apr 19, 2024
1 parent 426bf14 commit 080a6dd
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 51 deletions.
28 changes: 22 additions & 6 deletions .github/workflows/pytest-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,25 @@ on:
- main

jobs:
call-pytest-workflow:
# Docs: https://github.com/ASFHyP3/actions
uses: forrestfwilliams/burst2safe/.github/workflows/reusable-pytest.yml
with:
local_package_name: burst2safe
additional_args: -m integration
pytest:
runs-on: ubuntu-latest

strategy:
matrix:
python_version: >-
["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4

- uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yml
create-args: >-
python=${{ matrix.python_version }}
- name: Pytest in conda environment
shell: bash -l {0}
run: |
python -m pip install --no-deps .
pytest --cov=burst2safe -m integration
27 changes: 22 additions & 5 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,25 @@ on:
- develop

jobs:
call-pytest-workflow:
# Docs: https://github.com/ASFHyP3/actions
uses: forrestfwilliams/burst2safe/.github/workflows/reusable-pytest.yml
with:
local_package_name: burst2safe
pytest:
runs-on: ubuntu-latest

strategy:
matrix:
python_version: >-
["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4

- uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yml
create-args: >-
python=${{ matrix.python_version }}
- name: Pytest in conda environment
shell: bash -l {0}
run: |
python -m pip install --no-deps .
pytest --cov=burst2safe
40 changes: 0 additions & 40 deletions .github/workflows/reusable-pytest.yml

This file was deleted.

0 comments on commit 080a6dd

Please sign in to comment.