Add packs emulation job #1
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: Number of emulations | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
run_emulations: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
pack: ["packs/elements.csv","packs/mcdonalds-baby-animals.csv","packs/the-art-game.csv"] | |
emulations: [10000, 100000, 1000000] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Run emulations | |
run: | | |
python top_trumps.py --pack ${{ matrix.pack }} --emulations ${{ matrix.emulations }} |