Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add private tests which require auth to merge queue #3

Merged
merged 3 commits into from
Aug 23, 2024
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
33 changes: 33 additions & 0 deletions .github/workflows/ci-private.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Continuous integration - private registry

on:
pull_request:
merge_group:

jobs:
test-net-private:
name: Test Suite (network-enabled tests)
runs-on: ubuntu-latest
environment: main
strategy:
matrix:
rust:
- stable
- nightly
- "1.70.0" # MSRV
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install toolchain
uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ matrix.rust }}

# - name: Run cargo test (test-net-private)
# run: cargo test --features test-net,test-net-private
# env:
# DOCKER_REGISTRY_QUAY_USER: ${{ secrets.DOCKER_REGISTRY_QUAY_USER }}
# DOCKER_REGISTRY_QUAY_PASSWD: ${{ secrets.DOCKER_REGISTRY_QUAY_PASSWD }}
27 changes: 1 addition & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Continuous integration

on:
pull_request:
merge_group:

jobs:
check:
Expand Down Expand Up @@ -56,32 +57,6 @@ jobs:
- name: Run tests
run: cargo test

test-net-private:
name: Test Suite (network-enabled tests)
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- stable
- nightly
- "1.70.0" # MSRV
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install toolchain
uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ matrix.rust }}

# - name: Run cargo test (test-net-private)
# run: cargo test --features test-net,test-net-private
# env:
# DOCKER_REGISTRY_QUAY_USER: ${{ secrets.DOCKER_REGISTRY_QUAY_USER }}
# DOCKER_REGISTRY_QUAY_PASSWD: ${{ secrets.DOCKER_REGISTRY_QUAY_PASSWD }}

lints:
name: Lints
runs-on: ubuntu-latest
Expand Down
Loading