Skip to content

Commit

Permalink
[QI2-1223] Install dependencies from github-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
oschusler committed Dec 5, 2024
1 parent f9bbfc2 commit e566bb8
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,21 @@ jobs:
uses: abatilo/actions-poetry@v3
with:
poetry-version: "1.3.2"
- name: Create folder
run: mkdir -p ./ci-scripts
- name: Get GitHub-Actions
run: |
git clone https://github.com/QuTech-Delft/GitHub-Actions.git
cd GitHub-Actions
git switch feature/QI2-1222/include-auth-script
- name: Get authentication token
run: |
python -m venv env
. ./env/bin/activate
pip install git+https://github.com/QuTech-Delft/quantuminspire2.git
curl https://raw.githubusercontent.com/QuTech-Delft/GitHub-Actions/refs/heads/feature/QI2-1222/include-auth-script/scripts/get_oauth_tokens.py > get_oauth_tokens.py
mkdir -p ~/.quantuminspire
pip install -r requirements.txt
python get_oauth_tokens.py > ~/.quantuminspire/config.json
cat ~/.quantuminspire/config.json
deactivate
working-directory: ./ci-scripts
working-directory: ./GitHub-Actions/scripts/oauth-token
- name: Install packages
run: poetry install
- name: Run e2e test
Expand Down

0 comments on commit e566bb8

Please sign in to comment.