Skip to content

Commit

Permalink
Merge pull request #21 from david-a-wheeler/parallel_testing
Browse files Browse the repository at this point in the history
Parallelize tests
  • Loading branch information
david-a-wheeler authored May 29, 2023
2 parents ca6305e + 7501f5b commit 865e742
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/verifiers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
paths_ignore: '["**/README.md", "**/docs/**"]'

###########################################################
test:
name: Test mmverify.py
test_setmm:
name: Test mmverify.py on set.mm
runs-on: ubuntu-latest
needs: skip_dups
if: ${{ needs.skip_dups.outputs.should_skip != 'true' }}
Expand All @@ -32,9 +32,21 @@ jobs:
- run: echo 'Starting'
# Download from GitHub. This is probably easy for GitHub.
- run: wget -N https://raw.githubusercontent.com/metamath/set.mm/develop/set.mm
- run: ./mmverify.py set.mm
- run: echo 'Success!'
test_other_jmm:
name: Test mmverify.py on other .mm databases (including a bad one)
runs-on: ubuntu-latest
needs: skip_dups
if: ${{ needs.skip_dups.outputs.should_skip != 'true' }}
steps:
# By default checkout fetches a single commit, which is what we want.
# See: https://github.com/actions/checkout
- uses: actions/checkout@v3
- run: echo 'Starting'
# Download from GitHub. This is probably easy for GitHub.
- run: wget -N https://raw.githubusercontent.com/metamath/set.mm/develop/iset.mm
- run: wget -N https://raw.githubusercontent.com/david-a-wheeler/metamath-test/master/anatomy-bad1.mm
- run: ./mmverify.py set.mm
- run: ./mmverify.py iset.mm
- run: echo 'This should not pass:'
- run: '! ./mmverify.py anatomy-bad1.mm'
Expand Down

0 comments on commit 865e742

Please sign in to comment.