Skip to content
Merged
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
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
transport:
runs-on: ubuntu-24.04
env:
TRANSPORT_RELEASE: v0.2.0
TRANSPORT_REV: 553bb45b8bfa3ac9c9f7ed1ad71a8ac19d384542
TRANSPORT_RELEASE: v0.3.0
TRANSPORT_REV: a447773203dc5e778e5f0ef0bccd255e70c29938
steps:
- uses: dtolnay/rust-toolchain@stable
- name: build transport and transport-conformance
Expand All @@ -24,8 +24,8 @@ jobs:
wheel:
runs-on: ubuntu-24.04
env:
TRANSPORT_RELEASE: v0.2.0
TRANSPORT_REV: 553bb45b8bfa3ac9c9f7ed1ad71a8ac19d384542
TRANSPORT_RELEASE: v0.3.0
TRANSPORT_REV: a447773203dc5e778e5f0ef0bccd255e70c29938
PLATFORM_TAG: manylinux_2_17_x86_64.musllinux_1_1_x86_64
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -130,4 +130,5 @@ jobs:
"$RUNNER_TEMP/transport-dist/transport-conformance" run \
--client "python -m selective_pytest pytest tests" \
--fixture-ids fixture-ids.json \
--require-features manifest_http \
--transport "$RUNNER_TEMP/transport-dist/transport"
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ The example under `examples/django_skeleton` is a pytest-django project with dat

## Tests

Build [transport](https://github.com/selectiveci/transport) and its conformance runner at the `v0.2.0` commit, `553bb45b8bfa3ac9c9f7ed1ad71a8ac19d384542`, using a fresh `CARGO_TARGET_DIR`:
Build [transport](https://github.com/selectiveci/transport) and its conformance runner at the `v0.3.0` commit, `a447773203dc5e778e5f0ef0bccd255e70c29938`, using a fresh `CARGO_TARGET_DIR`:

```
cargo install --locked --git https://github.com/selectiveci/transport --rev 553bb45b8bfa3ac9c9f7ed1ad71a8ac19d384542 --bin transport --bin transport-conformance --root /path/to/transport
cargo install --locked --git https://github.com/selectiveci/transport --rev a447773203dc5e778e5f0ef0bccd255e70c29938 --bin transport --bin transport-conformance --root /path/to/transport
```

Run the unit tests, then the transport's conformance suite against the fixture project in `conformance/`:

```
SELECTIVE_TRANSPORT=/path/to/transport/bin/transport python -m pytest
cd conformance
/path/to/transport/bin/transport-conformance run --client "python -m selective_pytest pytest tests" --fixture-ids fixture-ids.json --transport /path/to/transport/bin/transport
/path/to/transport/bin/transport-conformance run --client "python -m selective_pytest pytest tests" --fixture-ids fixture-ids.json --require-features manifest_http --transport /path/to/transport/bin/transport
```
Loading