Skip to content

Commit

Permalink
Fix branch names in workflows and note the new repo address
Browse files Browse the repository at this point in the history
  • Loading branch information
elprans committed Aug 31, 2021
1 parent b3d48c7 commit bae6922
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release
on:
pull_request:
branches:
- "master"
- "main"
- "ci"
- "[0-9]+.[0-9x]+*"
paths:
Expand Down
15 changes: 14 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Tests
on:
push:
branches:
- master
- main
- ci
- "releases/*"
pull_request:
Expand All @@ -23,11 +23,24 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Check if release PR.
uses: edgedb/action-release/validate-pr@master
id: release
with:
github_token: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
missing_version_ok: yes
version_file: parsing/_version.py
version_line_pattern: |
__version__\s*=\s*(?:['"])([[:PEP440:]])(?:['"])
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
if: steps.release.outputs.version == 0
with:
python-version: ${{ matrix.python-version }}
- name: Test
if: steps.release.outputs.version == 0
env:
PARSING_USE_MYPYC: "${{ matrix.build == 'mypyc' && '1' || '0' }}"
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,4 @@ Additionally, trying to set private attributes may raise:

Author: Jason Evans [email protected]

Github repo: http://github.com/sprymix/parsing
Github repo: http://github.com/MagicStack/parsing

0 comments on commit bae6922

Please sign in to comment.