refactor: no unwrap in bin vectors #1120
Workflow file for this run
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: Test | |
on: | |
push: | |
jobs: | |
windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: run tests | |
run: | | |
cargo test --package exon --package exon-bam --test sqllogictests --all-features | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install aws and awslocal | |
run: | | |
pip install awscli | |
pip install awscli-local | |
- name: Run clippy | |
run: | | |
cargo clippy --all-targets --all-features -- -D warnings | |
- name: Run tests and sqllogictests | |
env: | |
AWS_DEFAULT_REGION: us-west-2 | |
AWS_ACCESS_KEY_ID: test | |
AWS_SECRET_ACCESS_KEY: test | |
AWS_ENDPOINT_URL: http://localhost:4566 | |
AWS_ENDPOINT: http://localhost:4566 | |
AWS_ALLOW_HTTP: true | |
run: | | |
docker compose up -d | |
sleep 5 | |
aws --endpoint-url=http://localhost:4566 s3 mb s3://test-bucket | |
aws --endpoint-url=http://localhost:4566 s3api put-object --bucket test-bucket --key test.fasta --body ./exon/exon-core/test-data/datasources/fasta/test.fasta | |
aws --endpoint-url=http://localhost:4566 s3api put-bucket-acl --bucket test-bucket --acl public-read | |
cargo test --test sqllogictests --all-features |