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

Fix ci #1181

Merged
merged 1 commit into from
Sep 16, 2024
Merged

Fix ci #1181

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
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
Loading