Skip to content

Commit

Permalink
Merge branch 'main' into cpp/abi-soversion
Browse files Browse the repository at this point in the history
  • Loading branch information
chybz authored Nov 25, 2024
2 parents fe881a5 + e2b14dc commit 085179f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@ jobs:
- name: Show Python version
run: python --version

- name: Install Python package dependencies
- name: Build package
run: |
python -m pip install build twine
python -m build
twine check --strict dist/*
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ jobs:
- '3.11'
- '3.10'
- '3.9'

defaults:
run:
working-directory: python
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -48,14 +50,15 @@ jobs:
run: python --version
- name: Install Python package dependencies
run: |
python -m pip install build twine pip setuptools wheel
python -m pip install twine pip setuptools wheel
pip install -r requirements.txt
pip install -e .
python -m build
twine check --strict dist/*
- name: Run tests
run: pytest

- name: run acceptance tests
- name: Run Acceptance Tests
run: make acceptance
working-directory: python
- name: Build package
run: |
python -m pip install build twine
python -m build
twine check --strict dist/*
2 changes: 1 addition & 1 deletion go/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/cucumber/gherkin/go/v30
require (
github.com/cucumber/messages/go/v24 v24.1.0
github.com/cucumber/messages/go/v27 v27.0.2
github.com/stretchr/testify v1.9.0
github.com/stretchr/testify v1.10.0
)

require (
Expand Down
2 changes: 2 additions & 0 deletions go/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcU
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
Expand Down

0 comments on commit 085179f

Please sign in to comment.