Skip to content

Commit

Permalink
Update CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mediaminister committed Sep 16, 2024
1 parent dac74f5 commit a0a8675
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,13 @@

name: CI
on:
- pull_request
- push
push:
branches:
- master
pull_request_target:
types: [ opened, edited, synchronize ]
branches:
- master
jobs:
tests:
name: Add-on testing
Expand All @@ -32,11 +37,17 @@ jobs:
steps:
- name: Check out ${{ github.sha }} from repository ${{ github.repository }}
uses: actions/checkout@v4
- name: Ignore certificate verification on Python 3.5
shell: bash
run: >
# INSECURE!! But it should be OK for CI tests.
echo 'PIP_TRUSTED_HOST=pypi.python.org pypi.org
files.pythonhosted.org' >>$GITHUB_ENV
- name: Setup PYTHONPATH (windows)
if: contains(matrix.os, 'windows')
run: echo "PYTHONPATH=${env:PYTHONPATH};${env:GITHUB_WORKSPACE};${env:GITHUB_WORKSPACE}\resources\lib;${env:GITHUB_WORKSPACE}\tests" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf-8 -Append
- name: Set up Python ${{ matrix.python-version }}
uses: MatteoH2O1999/setup-python@v3
- name: 'Set up Python ${{ matrix.python-version }}'
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies (linux)
Expand Down

0 comments on commit a0a8675

Please sign in to comment.