forked from tgingold-cern/cheby
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CI configuration for Github (on push / pull request)
- Loading branch information
1 parent
bb7587e
commit 873db49
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
on: [push, pull_request] | ||
|
||
name: CI | ||
|
||
jobs: | ||
generation: | ||
name: Generation | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Python venv | ||
run: | | ||
python3 -m venv .venv | ||
source .venv/bin/activate | ||
python -V | ||
pip install -r requirements.txt | ||
- name: Test Generation | ||
run: | | ||
cd proto | ||
python3 tests.py | ||
interaction: | ||
name: Generation | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Install GHDL | ||
run: sudo apt-get install ghdl | ||
|
||
- name: Checkout sources | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Python venv | ||
run: | | ||
python3 -m venv .venv | ||
source .venv/bin/activate | ||
python -V | ||
pip install -r requirements.txt | ||
- name: Test Generation | ||
run: | | ||
cd proto | ||
python3 tests.py |