Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,3 @@ jobs:
echo "::error::The installed version ($installed_version) does not match the latest version ($expected_version)."
exit 1
fi

- name: Test ProfProof within Kani Action
uses: ./
with:
working-directory: tests/cargo-kani/proptest-lib
args: --tests
enable-propproof: true
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ If omitted, the latest version of `Kani` hosted on [`Kani's crates.io page`](htt
- **Default**: `''`
- **Usage**: These arguments or subcommands will be appended to the Kani command.

`enable-propproof`

- **Description**: Experimental feature that allows Kani to verify [proptest harnesses](https://proptest-rs.github.io/proptest/proptest/index.html) using the PropProof feature.
- **Default**: `false`
- **Usage**: If set to `true`, Kani will enable the experimental PropProof feature for verifying proptest harnesses.

## Example usage in a workflow YAML file:

Here are a few examples of workflow YAML files for the Kani Github Action:
Expand Down Expand Up @@ -75,7 +69,7 @@ jobs:

#### Example 3: Run Kani with args

Use latest version of Kani, to run `cargo-kani --tests` on a project with `propproof` harnesses.
Use latest version of Kani, to run `cargo-kani --tests` on a project.

```yaml
jobs:
Expand All @@ -86,7 +80,6 @@ jobs:
uses: model-checking/kani-github-action@v1
with:
args: '--tests'
enable-propproof: true
```

## Security
Expand Down
19 changes: 0 additions & 19 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ inputs:
description: 'Arguments to pass to kani.'
required: false
default: ''
enable-propproof:
description: 'Experimental: Allow Kani to verify proptest harnesses using the PropProof feature'
required: false
default: false

runs:
using: "composite"
Expand All @@ -41,21 +37,6 @@ runs:
run: ${{ github.action_path }}/src/install-kani.sh ${{ inputs.kani-version }}
shell: bash

- name: Install PropProof
if: ${{ inputs.enable-propproof == 'true' }}
uses: actions/checkout@v3
with:
repository: model-checking/kani
ref: features/proptest
path: propproof
submodules: true

- name: Add PropProof to config
if: ${{ inputs.enable-propproof == 'true' }}
shell: bash
run: |
echo "paths = [\"$GITHUB_WORKSPACE/propproof\"]" > $HOME/.cargo/config.toml

- name: Run Kani
shell: bash
run: |
Expand Down
1 change: 0 additions & 1 deletion tests/cargo-kani/proptest-lib/.gitignore

This file was deleted.

13 changes: 0 additions & 13 deletions tests/cargo-kani/proptest-lib/Cargo.toml

This file was deleted.

28 changes: 0 additions & 28 deletions tests/cargo-kani/proptest-lib/src/lib.rs

This file was deleted.

Loading