Skip to content

Update ci.yml with Go workflow #34

Update ci.yml with Go workflow

Update ci.yml with Go workflow #34

Workflow file for this run

name: CI
on:
push:
branches:
- '*'
- '!main'
defaults:
run:
shell: pwsh
jobs:
setup-python:
name: Setup Python
runs-on: Ubuntu-Latest
strategy:
matrix:
version: ['3.9', '3.10', '3.11', '3.12']
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.version }}
- name: Install Poetry
run: pipx install poetry
- name: Install Dependencies
run: cd ./gazelle/python && poetry install
- name: Run Test Suite
run: poetry run pytest
setup-go:
name: Setup Go
runs-on: Ubuntu-Latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version-file: ./go.mod