aboutsummaryrefslogtreecommitdiff
path: root/.woodpecker/tests.yaml
blob: f8ce8072b17b3bca880f5bd2325f4b99806be7b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
when:
  - event: push

steps:
  - name: test
    image: rust
    commands:
      - apt update && apt install -y python3-dev python3-pip
      - pip3 install --break-system-packages ./hittekaart-py pytest
      - cargo test
      - cd hittekaart-py && pytest
  - name: compile-benches
    image: rust
    commands:
      - apt update && apt install -y python3-dev
      - cargo bench --no-run