Skip to content

Commit

Permalink
Use non-self-hosted runner for now, install requirements directly
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviagyg committed Nov 24, 2023
1 parent 401f659 commit 6090810
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:
jobs:

buildAndPublish:
runs-on: [ self-hosted, small ]
runs-on: ubuntu-latest

permissions:
id-token: write
Expand All @@ -24,16 +24,10 @@ jobs:
extra_args: --hook-stage manual --all-files
- name: Credential Scan
uses: getyourguide/actions/credentials-scan@main
- name: Poetry install
uses: getyourguide/actions/poetry-install@main
with:
codeartifact-auth-token: ${{ secrets.CODEARTIFACT_AUTH_TOKEN }}
python-version: ${{ env.PYTHON_VERSION }}
- name: Load Poetry venv
uses: getyourguide/actions/poetry-load@main
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install requirements
run: |
pip install poetry
poetry install
- name: Run Tests
run: |
. ./.venv/bin/activate
pytest .

0 comments on commit 6090810

Please sign in to comment.