test: Workflows

This commit is contained in:
jstoobysmith 2024-06-26 09:03:51 -04:00
parent 23e8e092cc
commit 4529ccef7d
2 changed files with 6 additions and 7 deletions

View file

@ -28,10 +28,7 @@ jobs:
- name: build cache
run: |
lake exe cache get
- name: check file imports
run: |
bash -o pipefail -c "env LEAN_ABORT_ON_PANIC=1 lake exe check_file_imports"
- name: build HepLean
id: build
uses: liskin/gh-problem-matcher-wrap@v3
@ -40,7 +37,10 @@ jobs:
run: |
bash -o pipefail -c "env LEAN_ABORT_ON_PANIC=1 lake build -KCI | tee stdout.log"
- name: check file imports
run: |
bash -o pipefail -c "env LEAN_ABORT_ON_PANIC=1 lake exe check_file_imports"
- name: lint HepLean
if: ${{ always() && steps.build.outcome == 'success' || steps.build.outcome == 'failure' }}
id: lint

View file

@ -73,7 +73,6 @@ import HepLean.SpaceTime.LorentzGroup.Proper
import HepLean.SpaceTime.LorentzGroup.Rotations
import HepLean.SpaceTime.Metric
import HepLean.SpaceTime.SL2C.Basic
import HepLean.StandardModel.Basic
import HepLean.StandardModel.HiggsBoson.Basic
import HepLean.StandardModel.HiggsBoson.TargetSpace
import HepLean.StandardModel.HiggsBoson.Basic
import HepLean.StandardModel.Representations