Skip to content

Commit

Permalink
Merge pull request #1 from romaninsh/feature/fixing-ci-tests
Browse files Browse the repository at this point in the history
Feature/fixing ci tests
  • Loading branch information
romaninsh authored Jul 21, 2024
2 parents 289b4c6 + 44b40c5 commit ff0ea41
Show file tree
Hide file tree
Showing 8 changed files with 572 additions and 2,656 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,24 @@ name: Rust

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

env:
CARGO_TERM_COLOR: always
TESTCONTAINER_DOCKER_NETWORK: tomodachi-testcontainers

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- name: Build
run: cargo build
- name: Run tests
run: cargo test
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- name: Create Docker network for running Testcontianers
run: docker network create ${{ env.TESTCONTAINER_DOCKER_NETWORK }}
- name: Build
run: cargo build
- name: Run tests
run: cargo test
Loading

0 comments on commit ff0ea41

Please sign in to comment.