Skip to content

change the docker images #12

change the docker images

change the docker images #12

Workflow file for this run

name: Execute tests and coverage

Check failure on line 1 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

(Line: 35, Col: 14): Unrecognized named-value: 'env'. Located at position 1 within expression: env.TARPAULIN_VERSION
on:
push:
branches:
- main
- master
pull_request:
env:
CARGO_TERM_COLOR: 'always'
TARPAULIN_VERSION: '0.35.1'
jobs:
test:
runs-on: ubuntu-latest
container:
image: rust:latest
steps:
- uses: actions/checkout@v4
# Temporarily disabled linting and formatting checks, to be re-enabled later.
# - name: Check formatting
# run: make fmt-check
#
# - name: Run linter
# run: make lint
- name: Run tests
run: make test
coverage:
runs-on: ubuntu-latest
container:
image: xd009642/tarpaulin:${{ env.TARPAULIN_VERSION }}
options: --security-opt seccomp=unconfined
needs: test
steps:
- uses: actions/checkout@v4
- name: Run tests with coverage
run: make coverage-check