Skip to content

Commit

Permalink
Merge pull request #101 from rzyu45/dev
Browse files Browse the repository at this point in the history
test: add the SolMuseum test
  • Loading branch information
rzyu45 authored Nov 24, 2024
2 parents 411752d + c6c1639 commit 8227808
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/solmuseum.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Run tests in SolMuseum

on:
push:
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- '*'

jobs:
tests_in_cookbook:

runs-on: windows-latest

steps:
- name: Checkout Test Repository
uses: actions/checkout@v3
with:
repository: 'smallbunnies/SolMuseum'
ref: 'main'
- uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip' # caching pip dependencies

- name: Install Main Repository as Dependency using Git URL
run: |
pip install --upgrade pip setuptools wheel
pip install git+https://github.com/${{github.repository}}.git@${{ github.sha }}
pip install pytest-xdist
- name: Run Tests
run: |
pytest -n auto

0 comments on commit 8227808

Please sign in to comment.