diff options
| author | Alex Grönholm <alex.gronholm@nextday.fi> | 2020-03-24 12:25:10 +0200 |
|---|---|---|
| committer | Alex Grönholm <alex.gronholm@nextday.fi> | 2020-03-24 12:25:10 +0200 |
| commit | d1b91e4e9a59470b70d13a58813587b7c645469e (patch) | |
| tree | ad94544fb99e2834d83fdd155f5cb51b07572256 /.github | |
| parent | 6da376ede809a03c9c5e5da1c20875b58bd677a4 (diff) | |
| download | wheel-git-d1b91e4e9a59470b70d13a58813587b7c645469e.tar.gz | |
Updated the release procedure
This commit also fixes PRs not triggering checks.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/codeqa-test.yml (renamed from .github/workflows/codeqa-test-tag.yml) | 18 | ||||
| -rw-r--r-- | .github/workflows/publish.yml | 4 |
2 files changed, 8 insertions, 14 deletions
diff --git a/.github/workflows/codeqa-test-tag.yml b/.github/workflows/codeqa-test.yml index da7e16c..3a680a2 100644 --- a/.github/workflows/codeqa-test-tag.yml +++ b/.github/workflows/codeqa-test.yml @@ -1,6 +1,10 @@ name: Python codeqa/test/tag -on: [push] +on: + pull_request: + branches: "*" + push: + branches: "*" jobs: flake8: @@ -47,15 +51,3 @@ jobs: run: pip install .[test] - name: Test with pytest run: pytest - - tag: - runs-on: ubuntu-latest - needs: test - if: github.ref == 'refs/heads/master' - steps: - - uses: actions/checkout@v1 - - uses: agronholm/action-general-autotag@regexnofail - with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - source_file: docs/news.rst - extraction_regex: "\\*\\*(\\d+\\.\\d+\\.\\d+(?:(?:a|b|rc)\\d+)?) " diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3621590..464988d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,6 +1,8 @@ name: Publish packages to PyPI -on: create +on: + create: + tags: "*" jobs: publish: |
