Cycle Simulation #64
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: Cycle Simulation | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
simulate: | |
name: Simulation | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run Unit Tests | |
run: dotnet test src/Engine.Tests/Engine.Tests.csproj --logger trx --results-directory "TestResults" | |
- name: Run Simulation | |
run: dotnet run --project src/Engine/Engine.csproj --configuration Release -- --token ${{ secrets.REPOSITORY_TOKEN }} --test-mode false | |
- name: Upload Test Results | |
uses: actions/upload-artifact@v4 | |
with: | |
name: test-results | |
path: TestResults | |
if: ${{ always() }} | |
- name: Upload Characters Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: characters | |
path: artifacts/characters.txt |