ci: add e2e tests #88
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: Test | |
| on: | |
| pull_request: | |
| paths: | |
| - pyproject.toml | |
| - Dockerfile | |
| - "*.py" | |
| - tests/** | |
| - tools/** | |
| - utils/** | |
| workflow_call: | |
| workflow_dispatch: | |
| concurrency: | |
| group: "tests-${{ github.workflow }}-${{ github.event.pull_request.head.label || github.head_ref || github.ref }}" | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: nix develop --command bash {0} | |
| permissions: | |
| contents: read # required for actions/checkout | |
| steps: | |
| - name: Check out the repo | |
| uses: actions/checkout@v4 | |
| - name: Install nix | |
| uses: DeterminateSystems/nix-installer-action@main | |
| - name: Download dependencies | |
| run: make init | |
| - name: Run ruff | |
| run: make lint | |
| - name: Run Unit Tests | |
| run: make test |