Skip to content

Fix pip installs in GitHub Actions #5391

Fix pip installs in GitHub Actions

Fix pip installs in GitHub Actions #5391

Workflow file for this run

name: dryrun
on: [pull_request]
jobs:
dryrun:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Set up Python
id: setup-python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'poetry'
- name: Execute ods-ci dryrun
run: |
cd ods_ci
mv test-variables.yml.example test-variables.yml
./run_robot_test.sh --extra-robot-args '--dryrun' --skip-oclogin true --no-output-subfolder true
- name: Save PR number and artifacts
run: |
mkdir -p ./pr
cp -r ods_ci/test-output ./pr/test-output
echo ${{ github.event.number }} > ./pr/NR
- uses: actions/upload-artifact@v3
with:
name: pr
path: pr/