randomize n
albums to be listen based in your followed artists
- create an
.env
file in the root of the project like this:
CLIENT_ID="somevaluefromspotify"
CLIENT_SECRET="somevaluefromspotify"
REDIRECT_URI="https://localhost"
- to run:
cargo run -- -w
- or with the binary:
./target/debug/ranbumfy -w
- to run tests:
cargo test
- to run only integration tests:
cargo test --test integration
- to run only one test:
cargo test <TESTNAME>
- to run only unit tests:
cargo test --bin ranbumfy
- take a look in
.gitlab-ci.yml
to see which rust version is being supported