Skip to content

Commit

Permalink
ci: better release
Browse files Browse the repository at this point in the history
  • Loading branch information
steven-murray committed Jul 24, 2024
1 parent bcbaf97 commit afc31b8
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 76 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/merge-me.yaml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/merge-to-dev.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/tag-release.yaml

This file was deleted.

5 changes: 1 addition & 4 deletions .github/workflows/test_suite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,9 @@ name: Tests
# Also, only test on pull requests into master/dev.
on:
push:
tags-ignore:
- 'v*'
pull_request:
branches:
- 'master'
- 'dev'
- 'main'

jobs:
tests:
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/warnings-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,12 @@ name: Warnings Tests
# Also, only test on pull requests into master/dev.
on:
push:
tags-ignore:
- 'v*'
pull_request:
branches:
- 'master'
- 'dev'
- 'main'

jobs:
tests:
if: "!contains(github.event.pull_request.labels.*.name, 'auto-pr')"
env:
ENV_NAME: tests
PYTHON: ${{ matrix.python-version }}
Expand Down Expand Up @@ -45,7 +41,7 @@ jobs:
run: |
python -m pytest -Werror --cov=hmf --cov-config=.coveragerc --cov-report xml:./coverage.xml --durations=25
- uses: codecov/codecov-action@v3
if: matrix.os == 'ubuntu-latest' && success() && !contains(github.event.pull_request.labels.*.name, 'auto-pr')
if: matrix.os == 'ubuntu-latest' && success()
with:
file: ./coverage.xml # optional
fail_ci_if_error: true
Expand Down

0 comments on commit afc31b8

Please sign in to comment.