Skip to content

Commit

Permalink
ci debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzSchueler committed May 27, 2024
1 parent 1e80e4b commit a12b715
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,21 @@ jobs:
cargo check --manifest-path sport-log-server/Cargo.toml &&
cargo check --manifest-path sport-log-types/Cargo.toml &&
cargo check --manifest-path sport-log-derive/Cargo.toml
- name: create sport-log-server.toml file
working-directory: sport-log-server
run: |
echo "
admin_password = \"$ADMIN_PASSWORD_HASH\"
user_self_registration = true
ap_self_registration = true
database_url = \"$DATABASE_URL\"
release_address = \"0.0.0.0:8000\"
debug_address = \"0.0.0.0:8001\"
" > sport-log-server.toml
- name: cargo clean
run: cargo clean
- name: cargo test
run: cargo test --all-features

test:
name: test
Expand Down Expand Up @@ -138,6 +153,8 @@ jobs:
release_address = \"0.0.0.0:8000\"
debug_address = \"0.0.0.0:8001\"
" > sport-log-server.toml
- name: cargo clean
run: cargo clean
- name: cargo test
run: cargo test --all-features

Expand Down Expand Up @@ -205,6 +222,8 @@ jobs:
release_address = \"0.0.0.0:8000\"
debug_address = \"0.0.0.0:8001\"
" > sport-log-server.toml
- name: cargo clean
run: cargo clean
- name: run server
working-directory: sport-log-server
run: |
Expand Down

0 comments on commit a12b715

Please sign in to comment.