Merge pull request #73 from NFDI4Chem/development #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This worklflow will perform following actions when the code is pushed to main branch. | |
# - Test linting with pylint. | |
# - Test the code with pytest. | |
# - Trigger release-please action to create release which needs test to pass first. | |
# | |
# Maintainers: | |
# - name: Nisha Sharma | |
# - email: [email protected] | |
name: release-please-action | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
test_and_lint: | |
uses: NFDI4Chem/nmrkit/.github/workflows/test.yml@main | |
release-please: | |
runs-on: ubuntu-latest | |
needs: test_and_lint | |
steps: | |
- uses: google-github-actions/release-please-action@v3 | |
with: | |
release-type: python | |
package-name: release-please-action | |
token: ${{ secrets.PAT }} | |
prerelease: true |