Skip to content

Commit

Permalink
Fix red CI
Browse files Browse the repository at this point in the history
  • Loading branch information
whatyouhide committed Sep 9, 2024
1 parent 21f9d82 commit 7c2a84b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
uses: actions/checkout@v3

- name: Start Docker
run: docker-compose up --detach
run: docker compose up --detach

- name: Install OTP and Elixir
uses: erlef/setup-beam@v1
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ Redix is low-level, but it's still built to handle most things thrown at it. For

## Contributing

To run the Redix test suite you will have to have Redis running locally. Redix requires a somewhat complex setup for running tests (because it needs a few instances running, for pub/sub and sentinel). For this reason, in this repository you'll find a `docker-compose.yml` file so that you can use [Docker][docker] and [docker-compose][] to spin up all the necessary Redis instances with just one command. Make sure you have Docker installed and then just run:
To run the Redix test suite you will have to have Redis running locally. Redix requires a somewhat complex setup for running tests (because it needs a few instances running, for pub/sub and sentinel). For this reason, in this repository you'll find a `docker-compose.yml` file so that you can use [Docker][docker] and [docker compose][docker-compose] to spin up all the necessary Redis instances with just one command. Make sure you have Docker installed and then just run:

```bash
docker-compose up
docker compose up
```

Now, you're ready to run tests with the `$ mix test` command.
Expand Down
2 changes: 1 addition & 1 deletion test/redix/pubsub_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defmodule Redix.PubSubTest do

@moduletag :pubsub

# See docker-compose.
# See docker-compose.yml.
@port 6380

setup do
Expand Down

0 comments on commit 7c2a84b

Please sign in to comment.