Merge pull request #1319 from wprzytula/adjust-to-msrv-1.80 #3686
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Authenticate | |
on: | |
push: | |
branches: | |
- main | |
- 'branch-*' | |
pull_request: | |
branches: | |
- '**' | |
env: | |
CARGO_TERM_COLOR: always | |
RUST_BACKTRACE: full | |
jobs: | |
build: | |
timeout-minutes: 60 | |
name: Run Authentication tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup rust toolchain | |
uses: actions-rust-lang/setup-rust-toolchain@v1 | |
- name: Start the cluster | |
run: docker compose -f test/cluster/docker-compose-passauth.yml up -d | |
- name: Run tests | |
run: SCYLLA_URI=172.43.0.2 RUST_LOG=trace cargo test authenticate_superuser -- custom_authentication --ignored | |
- name: Stop the cluster | |
if: ${{ always() }} | |
run: docker compose -f test/cluster/docker-compose-passauth.yml stop | |
- name: Print the cluster logs | |
if: ${{ always() }} | |
run: docker compose -f test/cluster/docker-compose-passauth.yml logs |