Skip to content

Hack: experiment with range and shift on adam core #42

Hack: experiment with range and shift on adam core

Hack: experiment with range and shift on adam core #42

name: docker - Build, Lint, and Test
on:
push:
branches: [main, "v*"]
pull_request:
branches: [main, "v*"]
jobs:
build-lint-test:
runs-on: ubuntu-latest
env:
IMAGE_TAG: ${{ github.sha }}
steps:
- name: Checkout git repo
uses: actions/checkout@v3
- uses: jpribyl/[email protected]
continue-on-error: true
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
install: true
- name: Build
run: docker build --load -t thor:$IMAGE_TAG .
- name: Lint
run: docker run -i thor:$IMAGE_TAG pre-commit run --all-files
- name: Test
run: docker run -i thor:$IMAGE_TAG pytest . --cov