Skip to content

Commit 6677bec

Browse files
committed
Changing actions versions
1 parent e04ec35 commit 6677bec

File tree

1 file changed

+46
-36
lines changed

1 file changed

+46
-36
lines changed

.github/workflows/ci.yml

Lines changed: 46 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -63,39 +63,49 @@ jobs:
6363
run: |
6464
sphinx-build -b html docs build/html
6565
Integration:
66-
continue-on-error: true
67-
runs-on: ${{ matrix.os }}
68-
strategy:
69-
matrix:
70-
os: [macos-15-intel, macos-latest, windows-latest, ubuntu-latest]
71-
python-version: [3.9, "3.10", 3.11]
72-
steps:
73-
- uses: actions/checkout@v5
74-
- name: Setup Python environment
75-
uses: actions/setup-python@v6
76-
with:
77-
python-version: ${{ matrix.python-version }}
78-
- name: Install Requirements
79-
run: |
80-
python -m pip install --upgrade pip
81-
pip install flake8 pytest
82-
pip install -r requirements.txt
83-
pip install -r test/requirements.txt
84-
python setup.py install --user
85-
- name: Run Integration Tests
86-
env:
87-
LEGACY_USER_DROPBOX_TOKEN: ${{ secrets.LEGACY_USER_DROPBOX_TOKEN }}
88-
LEGACY_USER_CLIENT_ID: ${{ secrets.LEGACY_USER_CLIENT_ID }}
89-
LEGACY_USER_CLIENT_SECRET: ${{ secrets.LEGACY_USER_CLIENT_SECRET }}
90-
LEGACY_USER_REFRESH_TOKEN: ${{ secrets.LEGACY_USER_REFRESH_TOKEN }}
91-
SCOPED_USER_DROPBOX_TOKEN: ${{ secrets.SCOPED_USER_DROPBOX_TOKEN }}
92-
SCOPED_USER_CLIENT_ID: ${{ secrets.SCOPED_USER_CLIENT_ID }}
93-
SCOPED_USER_CLIENT_SECRET: ${{ secrets.SCOPED_USER_CLIENT_SECRET }}
94-
SCOPED_USER_REFRESH_TOKEN: ${{ secrets.SCOPED_USER_REFRESH_TOKEN }}
95-
SCOPED_TEAM_DROPBOX_TOKEN: ${{ secrets.SCOPED_TEAM_DROPBOX_TOKEN }}
96-
SCOPED_TEAM_CLIENT_ID: ${{ secrets.SCOPED_TEAM_CLIENT_ID }}
97-
SCOPED_TEAM_CLIENT_SECRET: ${{ secrets.SCOPED_TEAM_CLIENT_SECRET }}
98-
SCOPED_TEAM_REFRESH_TOKEN: ${{ secrets.SCOPED_TEAM_REFRESH_TOKEN }}
99-
DROPBOX_SHARED_LINK: ${{ secrets.DROPBOX_SHARED_LINK }}
100-
run: |
101-
pytest -v test/integration/test_dropbox.py
66+
continue-on-error: true
67+
runs-on: ${{ matrix.os }}
68+
strategy:
69+
fail-fast: false
70+
matrix:
71+
os: [macos-15-intel, macos-latest, windows-latest, ubuntu-latest]
72+
python-version: ["3.9", "3.10", "3.11"]
73+
steps:
74+
- uses: actions/checkout@v5
75+
76+
- name: Set up Python
77+
uses: actions/setup-python@v6
78+
with:
79+
python-version: ${{ matrix.python-version }}
80+
cache: "pip"
81+
82+
- name: Install dependencies
83+
run: |
84+
python -m pip install -U pip
85+
python -m pip install -U build
86+
python -m pip install -r requirements.txt
87+
python -m pip install -r test/requirements.txt
88+
python -m pip install -U flake8 pytest
89+
90+
- name: Build and install package (wheel)
91+
run: |
92+
python -m build --wheel
93+
python -m pip install dist/*.whl
94+
95+
- name: Run integration tests
96+
env:
97+
LEGACY_USER_DROPBOX_TOKEN: ${{ secrets.LEGACY_USER_DROPBOX_TOKEN }}
98+
LEGACY_USER_CLIENT_ID: ${{ secrets.LEGACY_USER_CLIENT_ID }}
99+
LEGACY_USER_CLIENT_SECRET: ${{ secrets.LEGACY_USER_CLIENT_SECRET }}
100+
LEGACY_USER_REFRESH_TOKEN: ${{ secrets.LEGACY_USER_REFRESH_TOKEN }}
101+
SCOPED_USER_DROPBOX_TOKEN: ${{ secrets.SCOPED_USER_DROPBOX_TOKEN }}
102+
SCOPED_USER_CLIENT_ID: ${{ secrets.SCOPED_USER_CLIENT_ID }}
103+
SCOPED_USER_CLIENT_SECRET: ${{ secrets.SCOPED_USER_CLIENT_SECRET }}
104+
SCOPED_USER_REFRESH_TOKEN: ${{ secrets.SCOPED_USER_REFRESH_TOKEN }}
105+
SCOPED_TEAM_DROPBOX_TOKEN: ${{ secrets.SCOPED_TEAM_DROPBOX_TOKEN }}
106+
SCOPED_TEAM_CLIENT_ID: ${{ secrets.SCOPED_TEAM_CLIENT_ID }}
107+
SCOPED_TEAM_CLIENT_SECRET: ${{ secrets.SCOPED_TEAM_CLIENT_SECRET }}
108+
SCOPED_TEAM_REFRESH_TOKEN: ${{ secrets.SCOPED_TEAM_REFRESH_TOKEN }}
109+
DROPBOX_SHARED_LINK: ${{ secrets.DROPBOX_SHARED_LINK }}
110+
run: |
111+
pytest -v test/integration/test_dropbox.py

0 commit comments

Comments
 (0)