Removed the multithreading helper of is_small_prime_small_test
. (#161)
#623
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: | |
push: | |
paths: | |
- '.github/workflows/tests.yml' | |
- 'Dockerfile' | |
- 'src/lib.rs' | |
- 'src/utils.rs' | |
- 'res/tests/*.txt' | |
- 'src/utils/**.rs' | |
workflow_dispatch: | |
jobs: | |
tests32: | |
name: tests on 32-bit alpine:3.19 | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: docker/setup-buildx-action@v3 | |
- uses: docker/build-push-action@v5 | |
with: | |
push: false | |
load: true | |
tags: tests32 | |
- uses: addnab/docker-run-action@v3 | |
with: | |
image: tests32 | |
run: cargo test --release | |
tests64: | |
name: tests on 64-bit ubuntu-22.04 | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- run: cargo test --release |