Skip to content

Commit

Permalink
Add CI step (#15)
Browse files Browse the repository at this point in the history
* add ci

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
anneschuth and pre-commit-ci[bot] authored Feb 11, 2025
1 parent 9f8c0bb commit e39ba8e
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/behave-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Run Tests

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.uv/bin" >> $GITHUB_PATH
- name: Install dependencies
run: |
uv sync
- name: Run tests
run: ./script/test
1 change: 1 addition & 0 deletions script/test
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uv run behave features

0 comments on commit e39ba8e

Please sign in to comment.