-
Notifications
You must be signed in to change notification settings - Fork 4
67 lines (52 loc) · 1.43 KB
/
validation-tests.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: Validation Tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
release:
types: [ published ]
workflow_dispatch: {}
permissions:
actions: write
contents: write
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 16
concurrency:
group: "pages"
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Install Python 3
uses: actions/setup-python@v1
with:
python-version: 3.11
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies
run: |
pip install --no-cache-dir -r requirements.txt
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: run
run: dotnet run --project TestConsole/TestsConsole.csproj
- name: run python
run: python TestGraphs/report.py
- name: Deploy to GitHub pages 🚀
uses: JamesIves/[email protected]
with:
clean: false
branch: gh-pages
folder: html
token: ${{ secrets.GITHUB_TOKEN }}