Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup github actions #1

Merged
merged 5 commits into from
Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ jobs:
permissions:
checks: write
pull-requests: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.8"

- name: Cache pre-commit
uses: actions/cache@v3
Expand Down Expand Up @@ -60,7 +61,9 @@ jobs:
run: . ./setup_dev_env.sh

- name: Check licenses
run: ./check_licenses.sh
run: |
source venv/bin/activate
./check_licenses.sh

- name: Generate pip freeze
run: |
Expand Down Expand Up @@ -115,7 +118,7 @@ jobs:
fail-fast: false # do not stop all jobs if one fails
matrix:
include:
- python-version: "3.11"
- python-version: "3.8"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ on:

jobs:
pages:
runs-on: ubuntu-latest
container: python:3.11
runs-on: gcr.io/google.com/cloudsdktool/google-cloud-cli:latest
permissions:
contents: write
steps:
Expand All @@ -27,10 +26,6 @@ jobs:
run: . ./setup_dev_env.sh

- name: Build docs
run: ./build_docs.sh

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
run: |
source venv/bin/activate
./.github/scripts/build_docs.sh
291 changes: 0 additions & 291 deletions .gitlab-ci.yml

This file was deleted.

Loading