Skip to content

feat(solutions): medium: maximum_average_pass_ratio.rs #209

feat(solutions): medium: maximum_average_pass_ratio.rs

feat(solutions): medium: maximum_average_pass_ratio.rs #209

Workflow file for this run

name: Tests
on: [ push ]
env:
CARGO_TERM_COLOR: always
jobs:
ts-test:
name: Test Typescript Solutions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
cache: "yarn"
- name: Run install
uses: borales/actions-yarn@v5
with:
cmd: install # will run `yarn install` command
- name: Test solutions
uses: borales/actions-yarn@v4
with:
cmd: test # will run `yarn test` command
rust-test:
name: Test Rust Solutions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: rustup update stable && rustup default stable
- run: cargo test --verbose
go-test:
name: Test Golang Solutions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '^1.23.4' # The Go version to download (if necessary) and use.
- run: go test ./...
- name: Update coverage report
uses: ncruces/go-coverage-report@v0
with:
report: true
chart: true
amend: true
continue-on-error: true