aboutsummaryrefslogtreecommitdiff
path: root/.woodpecker/tests.yaml
blob: 697a52438010c7f8432ac28914c63cc06f0af2ab (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 ./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