Skip to content

Commit

Permalink
small mistakes
Browse files Browse the repository at this point in the history
  • Loading branch information
thesuzerain committed Nov 14, 2023
1 parent 0e77d2f commit 6daa419
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 14 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/coverage-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:

- name: Start containers
run: docker compose up -d
- name: Install self signed certificate
run: |
until [ -f ./resources/test/certs/cert.pem ]; do sleep 1; done
sudo cp ./resources/test/certs/cert.pem /usr/local/share/ca-certificates/localhost.crt && sudo update-ca-certificates
timeout-minutes: 1
# - name: Install self signed certificate
# run: |
# until [ -f ./resources/test/certs/cert.pem ]; do sleep 1; done
# sudo cp ./resources/test/certs/cert.pem /usr/local/share/ca-certificates/localhost.crt && sudo update-ca-certificates
# timeout-minutes: 1
- name: Run integration tests
run: cargo llvm-cov test --verbose --test '*' --lcov --output-path lcov.integration-tests.info
env:
Expand Down
10 changes: 1 addition & 9 deletions .github/workflows/coverage-tarp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,13 @@ on:
pull_request:
branches: [ master ]
jobs:
test:
name: citarp
citarp:
runs-on: ubuntu-latest
container:
image: xd009642/tarpaulin:develop-nightly
options: --security-opt seccomp=unconfined
steps:
- uses: actions/checkout@v2
# Start Docker Compose
- name: Start Docker Compose
run: docker-compose up -d

- name: Checkout repository
uses: actions/checkout@v2

- name: Generate code coverage
run: |
cargo +nightly tarpaulin --verbose --all-features --workspace --timeout 120 --out xml
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/coverage2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
run: cargo llvm-cov --lcov --output-path lcov.info
env:
SQLX_OFFLINE: true # needed to keep it from trying to connect to a database
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
Expand Down

0 comments on commit 6daa419

Please sign in to comment.