This repository was archived by the owner on Sep 18, 2026. It is now read-only.
fix: toon verhuisbericht op elk instappunt #1825
Workflow file for this run
This file contains hidden or 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
| name: Run Behaviour Tests | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| # These jobs pull in and run third-party code: the Python dependency tree, the | |
| # Go module tree, and a Playwright browser download. None of it needs a token | |
| # that can write to this repository. | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| 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: Install system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y locales | |
| sudo locale-gen nl_NL.UTF-8 | |
| sudo update-locale LANG=nl_NL.UTF-8 | |
| - name: Install Playwright browsers | |
| run: | | |
| uv run playwright install --with-deps chromium | |
| - name: Ensure no @skip tags in main features | |
| run: | | |
| # Check for @skip tag (but allow @skip-go which is valid for Go-only skipping) | |
| if grep -rE "^[[:space:]]*@skip[[:space:]]*$" features/ --include="*.feature" 2>/dev/null; then | |
| echo "ERROR: @skip tags found in features/. Use @skip-go for Go-only skipping." | |
| exit 1 | |
| fi | |
| echo "No @skip tags found in main features directory." | |
| - name: Run tests | |
| run: ./script/test-behaviour --tags='~@ui' --tags='~@skip' | |
| env: | |
| LANG: nl_NL.UTF-8 | |
| LC_ALL: nl_NL.UTF-8 | |
| go-test-features: | |
| name: Run Go Features | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Set up Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: "features/go.mod" # Replace with your desired Go version | |
| cache-dependency-path: | | |
| features/go.sum | |
| - name: Run tests | |
| working-directory: ./features | |
| run: go test -v . | |
| go-test-machinev2: | |
| name: Run Go Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Set up Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: "machinev2/machine/go.mod" # Replace with your desired Go version | |
| cache-dependency-path: | | |
| machinev2/machine/go.sum | |
| - name: Run tests | |
| working-directory: ./machinev2/machine | |
| run: go test ./... |