-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add auth_file option to read authentication information for rep…
…ositories from a file (#413) * add option to force usage of fallback_auth * adapt to new storage backends * use user-provided --auth-file * add integration to test auth-files and authentication with private repositories
- Loading branch information
Showing
10 changed files
with
229 additions
and
129 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ jobs: | |
run_tests: | ||
strategy: | ||
matrix: | ||
os: ["ubuntu-latest", "windows-latest"] | ||
os: ["ubuntu-latest", "windows-latest", "macos-latest"] | ||
fail-fast: false | ||
|
||
name: Run tests | ||
|
@@ -30,11 +30,13 @@ jobs: | |
- uses: Swatinem/rust-cache@v2 | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: 1.73.0 | ||
toolchain: '1.73.0' | ||
- uses: prefix-dev/[email protected] | ||
with: | ||
pixi-version: v0.10.0 | ||
# build in release mode so that it's reasonably fast to run the tests | ||
- run: cargo build --release | ||
- run: cargo test -p rust-tests -- --test-threads 1 | ||
# - run: pixi run end_to_end_test | ||
- run: cargo test --release -p rust-tests -- --test-threads 1 | ||
- run: pixi run end_to_end_test | ||
env: | ||
PREFIX_DEV_READ_ONLY_TOKEN: ${{ secrets.PREFIX_DEV_READ_ONLY_TOKEN }} |
This file contains 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
Oops, something went wrong.