Skip to content

Commit

Permalink
ci(stylus-verifier): docker setup
Browse files Browse the repository at this point in the history
  • Loading branch information
rimrakhimov committed Oct 1, 2024
1 parent 0b68ed6 commit 9fa351a
Showing 1 changed file with 20 additions and 21 deletions.
41 changes: 20 additions & 21 deletions .github/workflows/stylus-verifier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,10 @@ jobs:
/usr/bin/docker create --name docker --privileged -p 2375:2375 --entrypoint dockerd docker:dind --host tcp://0.0.0.0:2375 --tls=false
/usr/bin/docker start docker
sleep 10
/usr/bin/docker logs docker
- name: Test docker container
run: |
curl http://127.0.0.1:2375/images/json
# - name: Test docker container
# run: |
# curl http://127.0.0.1:2375/images/json

# - name: Setup docker daemon
# run: |
Expand All @@ -59,23 +58,23 @@ jobs:

# run: curl http://127.0.0.1:2375/images/json

# - name: Setup
# uses: ./.github/actions/setup
# with:
# working-directory: stylus-verifier
#
# - name: Unit tests
# run: RUST_BACKTRACE=1 RUST_LOG=info cargo test --locked --workspace --all-features --lib --bins -- --nocapture
# if: success() || failure()
#
# - name: Doc tests
# run: cargo test --locked --workspace --all-features --doc
# if: success() || failure()
#
# - name: Integration tests
# run: RUST_BACKTRACE=1 RUST_LOG=info cargo test --locked --workspace --test '*' -- --nocapture --include-ignored
# if: success() || failure()
#
- name: Setup
uses: ./.github/actions/setup
with:
working-directory: stylus-verifier

- name: Unit tests
run: RUST_BACKTRACE=1 RUST_LOG=info cargo test --locked --workspace --all-features --lib --bins -- --nocapture
if: success() || failure()

- name: Doc tests
run: cargo test --locked --workspace --all-features --doc
if: success() || failure()

- name: Integration tests
run: RUST_BACKTRACE=1 RUST_LOG=info cargo test --locked --workspace --test '*' -- --nocapture --include-ignored
if: success() || failure()

# lint:
# name: Linting
# uses: ./.github/workflows/_linting.yml
Expand Down

0 comments on commit 9fa351a

Please sign in to comment.